|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.graphics.PDShading
public class PDShading
This class represents a Shading Pattern color space. See section 4.6.3 of the PDF 1.7 specification.
Field Summary | |
---|---|
static String |
NAME
The name of this object. |
Constructor Summary | |
---|---|
PDShading()
Default constructor. |
|
PDShading(COSName name,
COSDictionary shading)
Constructor. |
Method Summary | |
---|---|
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. |
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NAME
Constructor Detail |
---|
public PDShading()
public PDShading(COSName name, COSDictionary shading)
shading
- The shading dictionary.Method Detail |
---|
public String getName()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSName getShadingName()
public int getShadingType()
public PDColorSpace getColorSpace() throws IOException
IOException
public boolean getAntiAlias()
public COSArray getCoords()
public PDFunction getFunction() throws IOException
IOException
public COSArray getDomain()
public COSArray getExtend()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |