TilingPattern

Vue de l’ensemble

‘TilingPattern’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: PdfPttern.

Modèle de couverture (ISO 32000-1:2008, §8.7.3)

Cette classe fournit 12 méthodes pour travailler avec des objets TilingPattern dans les programmes Java. Les méthodologies disponibles comprennent: TilingPttern, getBBox , getContents ; ‘getMatrix; 'gettPaintType : getPadternTyp: 'GetPdfDictionary et ‘geResources - tileTips, ‘gitXSteps'inscrits dans le programme Java . Tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java : Propriétés :PAINT_COLOREDe, PAINT-UNCORÉDE, ́TILING_TONSTANT_SPACINGTING,_FASTER_TRANCE, BOOKS & plus.

Propriétés

NameTypeAccessDescription
paintTypeintReadReturns the paint type: 1 = colored, 2 = uncolored.
tilingTypeintReadReturns the tiling type: 1, 2, or 3.
bBoxRectangleReadReturns the pattern cell bounding box.
xStepdoubleReadReturns the horizontal tile spacing.
yStepdoubleReadReturns the vertical tile spacing.
resourcesResourcesReadReturns the pattern’s own resources dictionary.
contentsOperatorCollectionReadParses the tiling pattern’s content stream into operators.
PAINT_COLOREDintReadColored pattern: defines its own colors.
PAINT_UNCOLOREDintReadUncolored pattern: uses current non-pattern color.
TILING_CONSTANT_SPACINGintReadConstant spacing: tiles are evenly spaced.
TILING_NO_DISTORTIONintReadNo distortion: tile spacing may be altered to maintain appearance.
TILING_FASTERintReadFaster tiling: distortion and uneven spacing allowed.
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.

méthodes

SignatureDescription
TilingPattern(dict: PdfDictionary, parser: PDFParser)Creates a TilingPattern from its dictionary/stream.
getPaintType()intReturns the paint type: 1 = colored, 2 = uncolored.
getTilingType()intReturns the tiling type: 1, 2, or 3.
getBBox()RectangleReturns the pattern cell bounding box.
getXStep()doubleReturns the horizontal tile spacing.
getYStep()doubleReturns the vertical tile spacing.
getResources()ResourcesReturns the pattern’s own resources dictionary.
getContents()OperatorCollectionParses the tiling pattern’s content stream into operators.
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.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français