CoonsPatchShading

CoonsPatchShading

Overview

CoonsPatchShading is a class in Aspose.PDF FOSS for Java. Inherits from: Shading.

Coons patch mesh — ShadingType 6 (ISO 32000-1:2008, §8.7.4.5.6).

This class provides 9 methods for working with CoonsPatchShading objects in Java programs. Available methods include: CoonsPatchShading, getBBox, getBackground, getColorAt, getColorSpace, getPdfDictionary, getShadingType, isAntiAlias, parse. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: antiAlias, bBox, background, colorSpace, pdfDictionary, shadingType.

Properties

NameTypeAccessDescription
shadingTypeintReadGets the shading type.
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.

Methods

SignatureDescription
CoonsPatchShading(dict: PdfDictionary, parser: PDFParser)
getShadingType()intReturns the shading type.
getColorAt(x: double, y: double)double[]
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.

See Also

 English