ShadingPattern

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

NameTypeAccessDescription
shadingShadingReadReturns the shading object.
extGStateCOSDictionaryReadReturns the ExtGState associated with this pattern (if any).
patternTypeintReadReturns the pattern type: 1 for tiling, 2 for shading.
matrixMatrixReadReturns the pattern matrix that maps pattern space to user space.
cOSDictionaryCOSDictionaryReadReturns the underlying COS dictionary.

Methods

SignatureDescription
ShadingPattern(dict: COSDictionary, parser: PDFParser)Creates a ShadingPattern from its dictionary.
getShading()ShadingReturns the shading object.
getExtGState()COSDictionaryReturns the ExtGState associated with this pattern (if any).
getPatternType()intReturns the pattern type: 1 for tiling, 2 for shading.
getMatrix()MatrixReturns the pattern matrix that maps pattern space to user space.
getCOSDictionary()COSDictionaryReturns the underlying COS dictionary.
parse(obj: COSBase, parser: PDFParser)PdfPatternFactory: parses a pattern from a COS object.

See Also