public class PDShadingType5 extends PDShadingResources
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 bpc)
Set the number of bits per component.
|
void |
setBitsPerCoordinate(int bpc)
Set the number of bits per coordinate.
|
void |
setDecodeValues(COSArray decodeValues)
This will set the decode values.
|
void |
setVerticesPerRow(int vpr)
Set the number of vertices per row.
|
create, evalFunction, evalFunction, getAntiAlias, getBackground, getBBox, getColorSpace, getCOSDictionary, getCOSObject, getFunction, getType, setAntiAlias, setBackground, setBBox, setColorSpace, setFunction, setFunction, setShadingType
public PDShadingType5(COSDictionary shadingDictionary)
shadingDictionary
- The dictionary for this shading.public int getShadingType()
getShadingType
in class PDShadingResources
public int getBitsPerComponent()
public void setBitsPerComponent(int bpc)
bpc
- The number of bits per component.public int getBitsPerCoordinate()
public void setBitsPerCoordinate(int bpc)
bpc
- The number of bits per coordinate.public int getVerticesPerRow()
public void setVerticesPerRow(int vpr)
vpr
- The number of vertices per row.public void setDecodeValues(COSArray decodeValues)
decodeValues
- The new decode values.public PDRange getDecodeForParameter(int paramNum)
paramNum
- The function parameter number.Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.