COSObjectablepublic class PDShadingPattern extends PDAbstractPattern
TYPE_SHADING_PATTERN, TYPE_TILING_PATTERN| Constructor | Description |
|---|---|
PDShadingPattern() |
Creates a new shading pattern.
|
PDShadingPattern(COSDictionary resourceDictionary) |
Creates a new shading pattern from the given COS dictionary.
|
| Modifier and Type | Method | Description |
|---|---|---|
PDExtendedGraphicsState |
getExtendedGraphicsState() |
This will get the external graphics state for this pattern.
|
int |
getPatternType() |
This will return the pattern type.
|
PDShading |
getShading() |
This will get the shading resources for this pattern.
|
void |
setExtendedGraphicsState(PDExtendedGraphicsState extendedGraphicsState) |
This will set the external graphics state for this pattern.
|
void |
setShading(PDShading shadingResources) |
This will set the shading resources for this pattern.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, getCOSObject, getMatrix, getType, setMatrix, setPaintType, setPatternTypepublic PDShadingPattern()
public PDShadingPattern(COSDictionary resourceDictionary)
resourceDictionary - The COSDictionary for this pattern resource.public int getPatternType()
PDAbstractPatterngetPatternType in class PDAbstractPatternpublic PDExtendedGraphicsState getExtendedGraphicsState()
public void setExtendedGraphicsState(PDExtendedGraphicsState extendedGraphicsState)
extendedGraphicsState - The new extended graphics state for this pattern.public PDShading getShading() throws java.io.IOException
java.io.IOException - if something went wrongpublic void setShading(PDShading shadingResources)
shadingResources - The new shading resources for this pattern.Copyright © 2002–2018. All rights reserved.