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
| Name | Type | Access | Description |
|---|---|---|---|
paintType | int | Read | Returns the paint type: 1 = colored, 2 = uncolored. |
tilingType | int | Read | Returns the tiling type: 1, 2, or 3. |
bBox | Rectangle | Read | Returns the pattern cell bounding box. |
xStep | double | Read | Returns the horizontal tile spacing. |
yStep | double | Read | Returns the vertical tile spacing. |
resources | Resources | Read | Returns the pattern’s own resources dictionary. |
contents | OperatorCollection | Read | Parses the tiling pattern’s content stream into operators. |
PAINT_COLORED | int | Read | Colored pattern: defines its own colors. |
PAINT_UNCOLORED | int | Read | Uncolored pattern: uses current non-pattern color. |
TILING_CONSTANT_SPACING | int | Read | Constant spacing: tiles are evenly spaced. |
TILING_NO_DISTORTION | int | Read | No distortion: tile spacing may be altered to maintain appearance. |
TILING_FASTER | int | Read | Faster tiling: distortion and uneven spacing allowed. |
patternType | int | Read | Returns the pattern type: 1 for tiling, 2 for shading. |
matrix | Matrix | Read | Returns the pattern matrix that maps pattern space to user space. |
pdfDictionary | PdfDictionary | Read | Returns the underlying PDF dictionary. |
méthodes
| Signature | Description |
|---|---|
TilingPattern(dict: PdfDictionary, parser: PDFParser) | Creates a TilingPattern from its dictionary/stream. |
getPaintType() → int | Returns the paint type: 1 = colored, 2 = uncolored. |
getTilingType() → int | Returns the tiling type: 1, 2, or 3. |
getBBox() → Rectangle | Returns the pattern cell bounding box. |
getXStep() → double | Returns the horizontal tile spacing. |
getYStep() → double | Returns the vertical tile spacing. |
getResources() → Resources | Returns the pattern’s own resources dictionary. |
getContents() → OperatorCollection | Parses the tiling pattern’s content stream into operators. |
getPatternType() → int | Returns the pattern type: 1 for tiling, 2 for shading. |
getMatrix() → Matrix | Returns the pattern matrix that maps pattern space to user space. |
getPdfDictionary() → PdfDictionary | Returns the underlying PDF dictionary. |
parse(obj: PdfBase, parser: PDFParser) → PdfPattern | Factory: parses a pattern from a PDF object. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise