PdfPattern

Overview

PdfPattern is a class in Aspose.Pdf FOSS for Java.

Abstract base for PDF patterns (ISO 32000-1:2008, §8.7).

Properties

NameTypeAccessDescription
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
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