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

This class provides 7 methods for working with ShadingPattern objects in Java programs. Available methods include: ShadingPattern, getExtGState, getMatrix, getPatternType, getPdfDictionary, getShading, parse. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: extGState, matrix, patternType, pdfDictionary, shading.

Properties

NameTypeAccessDescription
shadingShadingReadReturns the shading object.
extGStatePdfDictionaryReadReturns 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.
pdfDictionaryPdfDictionaryReadReturns the underlying PDF dictionary.

Methods

SignatureDescription
ShadingPattern(dict: PdfDictionary, parser: PDFParser)Creates a ShadingPattern from its dictionary.
getShading()ShadingReturns the shading object.
getExtGState()PdfDictionaryReturns 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.
getPdfDictionary()PdfDictionaryReturns the underlying PDF dictionary.
parse(obj: PdfBase, parser: PDFParser)PdfPatternFactory: parses a pattern from a PDF object.

See Also

 English