CoonsPatchShading
Vue de l’ensemble
‘CoonsPatchShading’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: `Shader’.
Coons patch mesh — ShadingType 6 (ISO 32000-1:2008, §8.7.4.5.6).
Cette classe fournit 9 méthodes pour travailler avec des objets CoonsPatchShading dans les programmes Java. Les méthodologies disponibles comprennent: CoonsPaintShaming, getBBox , ‘getBackground; getColorAt; getColSpace : 'GetPdfDictionary ، ‘getsShaderType et 'isAntiAlias . Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : antiAlies ou bBox ? , background ́ , colorSpacetaire !
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
shadingType | int | Read | Gets the shading type. |
colorSpace | ColorSpaceBase | Read | Returns the color space. |
background | double[] | Read | Returns the optional background color, or {@code null}. |
bBox | Rectangle | Read | Returns the optional bounding box, or {@code null}. |
antiAlias | boolean | Read | Returns whether anti-aliasing is requested. |
pdfDictionary | PdfDictionary | Read | Returns the underlying dictionary. |
méthodes
| Signature | Description |
|---|---|
CoonsPatchShading(dict: PdfDictionary, parser: PDFParser) | |
getShadingType() → int | Returns the shading type. |
getColorAt(x: double, y: double) → double[] | |
getColorSpace() → ColorSpaceBase | Returns the color space. |
getBackground() → double[] | Returns the optional background color, or {@code null}. |
getBBox() → Rectangle | Returns the optional bounding box, or {@code null}. |
isAntiAlias() → boolean | Returns whether anti-aliasing is requested. |
getPdfDictionary() → PdfDictionary | Returns the underlying dictionary. |
parse(obj: PdfBase, parser: PDFParser) → Shading | Factory: parses a shading from a PDF object. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise