RadialShading

Vue de l’ensemble

‘RadialShading’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: `Shader’.

Radial Shading / radial gradient — ShaderType 3 (ISO 32000-1:2008, §8.7.4.5.3).

Cette classe fournit 15 méthodes pour travailler avec des objets RadialShading dans les programmes Java. Les méthodologies disponibles comprennent: ‘Radial Shading’, ‘getBBox’, getBackground', ‘getColorAt’, ' getColoreSpace', ’getPdfDictionary', ‚getR0, ‘getR1, 'GetShaderType', ''getX0‘, ''GETX1‘ , ''gETY0'' et 3 méthode supplémentaires. 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 : 'antiAlias', "bBox'' ,background’ , “colorSpACE’’ ; ‘pdfDictory’, «r0’ et plus.

Propriétés

NameTypeAccessDescription
shadingTypeintReadGets the shading type.
x0doubleReadReturns the start circle X center.
y0doubleReadReturns the start circle Y center.
r0doubleReadReturns the start circle radius.
x1doubleReadReturns the end circle X center.
y1doubleReadReturns the end circle Y center.
r1doubleReadReturns the end circle radius.
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
RadialShading(dict: PdfDictionary, parser: PDFParser)Creates a RadialShading from its dictionary.
getShadingType()intReturns the shading type.
getColorAt(x: double, y: double)double[]
getX0()doubleReturns the start circle X center.
getY0()doubleReturns the start circle Y center.
getR0()doubleReturns the start circle radius.
getX1()doubleReturns the end circle X center.
getY1()doubleReturns the end circle Y center.
getR1()doubleReturns the end circle radius.
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