ShadingPattern
Overview
ShadingPattern is a class in Aspose.Pdf FOSS for Java.
Inherits from: PdfPattern.
Shading pattern — PatternType 2 (ISO 32000-1:2008, §8.7.4).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
shading | Shading | Read | Returns the shading object. |
extGState | COSDictionary | Read | Returns the ExtGState associated with this pattern (if any). |
patternType | int | Read | Returns the pattern type: 1 for tiling, 2 for shading. |
matrix | Matrix | Read | Returns the pattern matrix that maps pattern space to user space. |
cOSDictionary | COSDictionary | Read | Returns the underlying COS dictionary. |
Methods
| Signature | Description |
|---|---|
ShadingPattern(dict: COSDictionary, parser: PDFParser) | Creates a ShadingPattern from its dictionary. |
getShading() → Shading | Returns the shading object. |
getExtGState() → COSDictionary | Returns the ExtGState associated with this pattern (if any). |
getPatternType() → int | Returns the pattern type: 1 for tiling, 2 for shading. |
getMatrix() → Matrix | Returns the pattern matrix that maps pattern space to user space. |
getCOSDictionary() → COSDictionary | Returns the underlying COS dictionary. |
parse(obj: COSBase, parser: PDFParser) → PdfPattern | Factory: parses a pattern from a COS object. |