TensorPatchShading
Overview
TensorPatchShading is a class in Aspose.PDF FOSS for Java.
Inherits from: Shading.
Tensor-product patch mesh — ShadingType 7 (ISO 32000-1:2008, §8.7.4.5.7).
This class provides 9 methods for working with TensorPatchShading objects in Java programs.
Available methods include: TensorPatchShading, 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
| Name | Type | Access | Description |
|---|---|---|---|
shadingType | int | Read | Gets the shading type. |
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. |
pdfDictionary | PdfDictionary | Read | Returns the underlying dictionary. |
Methods
| Signature | Description |
|---|---|
TensorPatchShading(dict: PdfDictionary, parser: PDFParser) | |
getShadingType() → int | Returns the shading type. |
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. |
getPdfDictionary() → PdfDictionary | Returns the underlying dictionary. |
parse(obj: PdfBase, parser: PDFParser) → Shading | Factory: parses a shading from a PDF object. |