LatticeGouraudShading
Overview
LatticeGouraudShading is a class in Aspose.Pdf FOSS for Java.
Inherits from: Shading.
Lattice-form Gouraud-shaded triangle mesh — ShadingType 5 (ISO 32000-1:2008, §8.7.4.5.5).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
shadingType | int | Read | |
colorSpace | ColorSpaceBase | Read | Returns the color space. |
background | double[] | Read | Returns the optional background color, or {@code null}. |
bBox | Rectangle | Read | Returns the optional bounding box, or {@code null}. |
antiAlias | boolean | Read | Returns whether anti-aliasing is requested. |
cOSDictionary | COSDictionary | Read | Returns the underlying dictionary. |
Methods
| Signature | Description |
|---|---|
LatticeGouraudShading(dict: COSDictionary, parser: PDFParser) | |
getShadingType() → int | |
getColorAt(x: double, y: double) → double[] | |
getColorSpace() → ColorSpaceBase | Returns the color space. |
getBackground() → double[] | Returns the optional background color, or {@code null}. |
getBBox() → Rectangle | Returns the optional bounding box, or {@code null}. |
isAntiAlias() → boolean | Returns whether anti-aliasing is requested. |
getCOSDictionary() → COSDictionary | Returns the underlying dictionary. |
parse(obj: COSBase, parser: PDFParser) → Shading | Factory: parses a shading from a COS object. |