COSObjectable
public class PDShadingType3 extends PDShadingType2
SHADING_TYPE1, SHADING_TYPE2, SHADING_TYPE3, SHADING_TYPE4, SHADING_TYPE5, SHADING_TYPE6, SHADING_TYPE7
Constructor | Description |
---|---|
PDShadingType3(COSDictionary shadingDictionary) |
Constructor using the given shading dictionary.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getShadingType() |
This will return the shading type.
|
java.awt.Paint |
toPaint(Matrix matrix) |
Returns an AWT paint which corresponds to this shading
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, evalFunction, evalFunction, getAntiAlias, getBackground, getBBox, getColorSpace, getCOSObject, getFunction, getType, setAntiAlias, setBackground, setBBox, setColorSpace, setFunction, setFunction, setShadingType
public PDShadingType3(COSDictionary shadingDictionary)
shadingDictionary
- the dictionary for this shadingpublic int getShadingType()
PDShading
getShadingType
in class PDShadingType2
public java.awt.Paint toPaint(Matrix matrix)
PDShading
toPaint
in class PDShadingType2
matrix
- the pattern matrix concatenated with that of the parent content stream,
this matrix which maps the pattern's internal coordinate system to user spaceCopyright © 2002–2018. All rights reserved.