| Modifier and Type | Field and Description |
|---|---|
| private final COSDictionary | |
| public static final int | TYPE_SHADING_PATTERN
Shading pattern type. |
| public static final int | TYPE_TILING_PATTERN
Tiling pattern type. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDAbstractPattern(COSDictionary
The COSDictionary for this pattern. dictionary)Creates a new Pattern dictionary from the given COS dictionary. |
| Modifier and Type | Method and Description |
|---|---|
| public static PDAbstractPattern | Returns: the newly created pattern objectthe COS pattern dictionary dictionary, ResourceCache the resource cache, may be null, useful for tiling patterns. resourceCache)Create the correct PD Model pattern based on the COS base pattern. |
| public COSDictionary | Returns: The dictionary for this pattern.Implements org. This will get the underlying dictionary. |
| public Matrix | Returns: the pattern matrixReturns the pattern matrix, or the identity matrix is none is available. |
| public abstract int | |
| public String | |
| public void | setMatrix(AffineTransform
the transformation matrix transform)Sets the optional Matrix entry for the Pattern. |
| public void | |
| public void |
| patternDictionary | back to summary |
|---|---|
| private final COSDictionary patternDictionary | |
| TYPE_SHADING_PATTERN | back to summary |
|---|---|
| public static final int TYPE_SHADING_PATTERN Shading pattern type. | |
| TYPE_TILING_PATTERN | back to summary |
|---|---|
| public static final int TYPE_TILING_PATTERN Tiling pattern type. | |
| PDAbstractPattern | back to summary |
|---|---|
| public PDAbstractPattern() Creates a new Pattern dictionary. | |
| PDAbstractPattern | back to summary |
|---|---|
| public PDAbstractPattern(COSDictionary dictionary) Creates a new Pattern dictionary from the given COS dictionary.
| |
| create | back to summary |
|---|---|
| public static PDAbstractPattern create(COSDictionary dictionary, ResourceCache resourceCache) throws IOException Create the correct PD Model pattern based on the COS base pattern.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. This will get the underlying dictionary.
| |
| getMatrix | back to summary |
|---|---|
| public Matrix getMatrix() Returns the pattern matrix, or the identity matrix is none is available.
| |
| getPatternType | back to summary |
|---|---|
| public abstract int getPatternType() This will return the pattern type.
| |
| getType | back to summary |
|---|---|
| public String getType() This will return the paint type.
| |
| setMatrix | back to summary |
|---|---|
| public void setMatrix(AffineTransform transform) Sets the optional Matrix entry for the Pattern.
| |
| setPaintType | back to summary |
|---|---|
| public void setPaintType(int paintType) This will set the paint type.
| |
| setPatternType | back to summary |
|---|---|
| public void setPatternType(int patternType) This will set the pattern type.
| |