Shading

Vue de l’ensemble

‘Shading’ est une classe dans Aspose.PDF FOSS pour Java.

Base abstraite pour les dictionnaires de nuage (ISO 32000-1:2008, §8.7.4.3).

Cette classe fournit 8 méthodes pour travailler avec des objets Shading dans les programmes Java. Les méthodologies disponibles comprennent: ‘getBBox’, ‘getBackground’, getColorAt', ‘getPdfDictionary’, 'geShadingType', ’isAntiAlias, ‘parse’. Tous les membres publics sont accessibles à toute application Java après avoir installé l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘antiAlies’, ‚bBox‘, background‘ , 'colorSpace , pdfDictory et ‘shadingtype`.

Propriétés

NameTypeAccessDescription
shadingTypeintReadReturns the shading type (1–7).
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
getShadingType()intReturns the shading type (1–7).
getColorAt(x: double, y: double)double[]Evaluates the shading color at a point in shading coordinate space.
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