public class PDShadingType5 extends PDShading
SHADING_TYPE1, SHADING_TYPE2, SHADING_TYPE3, SHADING_TYPE4, SHADING_TYPE5, SHADING_TYPE6, SHADING_TYPE7
Constructor and Description |
---|
PDShadingType5(COSDictionary shadingDictionary)
Constructor using the given shading dictionary.
|
Modifier and Type | Method and 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.
|
int |
getVerticesPerRow()
The vertices per row of this shading.
|
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.
|
void |
setVerticesPerRow(int verticesPerRow)
Set the number of vertices per row.
|
Paint |
toPaint(Matrix matrix)
Returns an AWT paint which corresponds to this shading
|
create, evalFunction, evalFunction, getAntiAlias, getBackground, getBBox, getColorSpace, getCOSObject, getFunction, getType, setAntiAlias, setBackground, setBBox, setColorSpace, setFunction, setFunction, setShadingType
public PDShadingType5(COSDictionary shadingDictionary)
shadingDictionary
- the dictionary for this shadingpublic int getShadingType()
PDShading
getShadingType
in class PDShading
public int getVerticesPerRow()
public void setVerticesPerRow(int verticesPerRow)
verticesPerRow
- the number of vertices per rowpublic Paint toPaint(Matrix matrix)
PDShading
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 numberCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.