COSObjectable
public class PDShading extends java.lang.Object implements COSObjectable
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
NAME |
The name of this object.
|
Constructor | Description |
---|---|
PDShading() |
Default constructor.
|
PDShading(COSName name,
COSDictionary shading) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
getAntiAlias() |
This will return a boolean flag indicating whether to antialias the shading pattern.
|
PDColorSpace |
getColorSpace() |
This will return the Color Space.
|
COSArray |
getCoords() |
Returns the coordinate array used by several of the gradient types.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
COSArray |
getDomain() |
Returns the Domain array used by several of the gradient types.
|
COSArray |
getExtend() |
Returns the Extend array used by several of the gradient types.
|
PDFunction |
getFunction() |
Returns the function used by several of the gradient types.
|
java.lang.String |
getName() |
This will return the name of the object.
|
COSName |
getShadingName() |
This will return the name of this particular shading dictionary
|
int |
getShadingType() |
This will return the ShadingType -- an integer between 1 and 7 that specifies the gradient type.
|
java.lang.String |
toString() |
public static final java.lang.String NAME
public PDShading()
public PDShading(COSName name, COSDictionary shading)
shading
- The shading dictionary.public java.lang.String getName()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSName getShadingName()
public int getShadingType()
public PDColorSpace getColorSpace() throws java.io.IOException
java.io.IOException
public boolean getAntiAlias()
public COSArray getCoords()
public PDFunction getFunction() throws java.io.IOException
java.io.IOException
public COSArray getDomain()
public COSArray getExtend()
public java.lang.String toString()
toString
in class java.lang.Object