FunctionBasedShading

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

NameTypeAccessDescription
shadingTypeintReadGets the shading type.
domaindouble[]ReadReturns the function domain [xmin, xmax, ymin, ymax].
colorSpaceColorSpaceBaseReadReturns the color space.
backgrounddouble[]ReadReturns the optional background color, or {@code null}.
bBoxRectangleReadReturns the optional bounding box, or {@code null}.
antiAliasbooleanReadReturns whether anti-aliasing is requested.
pdfDictionaryPdfDictionaryReadReturns the underlying dictionary.

méthodes

SignatureDescription
FunctionBasedShading(dict: PdfDictionary, parser: PDFParser)Creates a FunctionBasedShading from its dictionary.
getShadingType()intReturns the shading type.
getColorAt(x: double, y: double)double[]
getDomain()double[]Returns the function domain [xmin, xmax, ymin, ymax].
getColorSpace()ColorSpaceBaseReturns the color space.
getBackground()double[]Returns the optional background color, or {@code null}.
getBBox()RectangleReturns the optional bounding box, or {@code null}.
isAntiAlias()booleanReturns whether anti-aliasing is requested.
getPdfDictionary()PdfDictionaryReturns the underlying dictionary.
parse(obj: PdfBase, parser: PDFParser)ShadingFactory: parses a shading from a PDF object.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français