FunctionBasedShading
Vue de l’ensemble
‘FunctionBasedShading’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: `Shader’.
Shading à base de fonctionnalités — ShaderType 1 (ISO 32000-1:2008, §8.7.4.5.1).
Cette classe fournit 10 méthodes pour travailler avec des objets de fonctionnalité basés dans les programmes Java. Les méthodologies disponibles comprennent: ‘FunctionBasedShading’, ‘getBBox’, getBackground', ‘getColorAt’, ' getColoreSpace', ’getDomain', ‚getPdfDictionary, ‘gettShaderType , 'isAntiAlias et ‘parse’. 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 ; 'bBox; ‘background : colorSpaces en domine ; d’autres.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
shadingType | int | Read | Gets the shading type. |
domain | double[] | Read | Returns the function domain [xmin, xmax, ymin, ymax]. |
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 |
|---|---|
FunctionBasedShading(dict: PdfDictionary, parser: PDFParser) | Creates a FunctionBasedShading from its dictionary. |
getShadingType() → int | Returns the shading type. |
getColorAt(x: double, y: double) → double[] | |
getDomain() → double[] | Returns the function domain [xmin, xmax, ymin, ymax]. |
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