PdfPattern

Overview

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

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

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

Properties

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