COSObjectable
PDShadingType6
public class PDShadingType4 extends PDShadingResources
SHADING_TYPE1, SHADING_TYPE2, SHADING_TYPE3, SHADING_TYPE4, SHADING_TYPE5, SHADING_TYPE6, SHADING_TYPE7
Constructor | Description |
---|---|
PDShadingType4(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.
|
int |
getBitsPerFlag() |
The bits per flag 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 |
setBitsPerFlag(int bpf) |
Set the number of bits per flag.
|
void |
setDecodeValues(COSArray decodeValues) |
This will set the decode values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, evalFunction, evalFunction, getAntiAlias, getBackground, getBBox, getColorSpace, getCOSDictionary, getCOSObject, getFunction, getType, setAntiAlias, setBackground, setBBox, setColorSpace, setFunction, setFunction, setShadingType
public PDShadingType4(COSDictionary shadingDictionary)
shadingDictionary
- The dictionary for this shading.public int getShadingType()
getShadingType
in class PDShadingResources
public int getBitsPerFlag()
public void setBitsPerFlag(int bpf)
bpf
- The number of bits per flag.public 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 number