COSObjectable
PDShadingType7
public class PDShadingType6 extends PDShadingType4
SHADING_TYPE1, SHADING_TYPE2, SHADING_TYPE3, SHADING_TYPE4, SHADING_TYPE5, SHADING_TYPE6, SHADING_TYPE7
Constructor | Description |
---|---|
PDShadingType6(COSDictionary shadingDictionary) |
Constructor using the given shading dictionary.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getBitsPerComponent() |
The bits per component of this shading.
|
int |
getBitsPerCoordinate() |
The bits per coordinate of this shading.
|
PDRange |
getDecodeForParameter(int paramNum) |
Get the decode for the input parameter.
|
int |
getShadingType() |
This will return the shading type.
|
void |
setBitsPerComponent(int bitsPerComponent) |
Set the number of bits per component.
|
void |
setBitsPerCoordinate(int bitsPerComponent) |
Set the number of bits per coordinate.
|
void |
setDecodeValues(COSArray decodeValues) |
This will set the decode values.
|
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
getBitsPerFlag, setBitsPerFlag
public PDShadingType6(COSDictionary shadingDictionary)
shadingDictionary
- the dictionary for this shadingpublic int getShadingType()
PDShading
getShadingType
in class PDShadingType4
public java.awt.Paint toPaint(Matrix matrix)
PDShading
toPaint
in class PDShadingType4
matrix
- the pattern matrix concatenated with that of the parent content stream,
this matrix which maps the pattern's internal coordinate system to user spacepublic int getBitsPerComponent()
public void setBitsPerComponent(int bitsPerComponent)
bitsPerComponent
- the number of bits per componentpublic int getBitsPerCoordinate()
public void setBitsPerCoordinate(int bitsPerComponent)
bitsPerComponent
- the number of bits per coordinatepublic void setDecodeValues(COSArray decodeValues)
decodeValues
- the new decode valuespublic PDRange getDecodeForParameter(int paramNum)
paramNum
- the function parameter numberCopyright © 2002–2018. All rights reserved.