ShadingPattern
Vue de l’ensemble
‘ShadingPattern’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: PdfPadtern.
Modèle de l’éclairage — Modèles Type 2 (ISO 32000-1:2008, §8.7.4).
Cette classe fournit 7 méthodes pour travailler avec les objets ShadingPattern dans les programmes Java. Les méthodologies disponibles comprennent: ShadingMatern, getExtGState , ‘getMatrix; getPtternType; getPdfDictionaryetGetShaming. Tous les membres publics sont accessibles à toute application Java après avoir installé l'Aspose.PDF FOSS pour le package Java . Propriétés : extGstate‘, ‘matrix : 'patterntype', 'pdfDictorial ou ‘shading’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
shading | Shading | Read | Returns the shading object. |
extGState | PdfDictionary | Read | Returns the ExtGState associated with this pattern (if any). |
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 |
|---|---|
ShadingPattern(dict: PdfDictionary, parser: PDFParser) | Creates a ShadingPattern from its dictionary. |
getShading() → Shading | Returns the shading object. |
getExtGState() → PdfDictionary | Returns the ExtGState associated with this pattern (if any). |
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