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).

Properties

NameTypeAccessDescription
shadingTypeintRead
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.
cOSDictionaryCOSDictionaryReadReturns the underlying dictionary.

Methods

SignatureDescription
CoonsPatchShading(dict: COSDictionary, parser: PDFParser)
getShadingType()int
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.
getCOSDictionary()COSDictionaryReturns the underlying dictionary.
parse(obj: COSBase, parser: PDFParser)ShadingFactory: parses a shading from a COS object.

See Also