public class PDShading extends Object implements COSObjectable
| Modifier and Type | Field and Description | 
|---|---|
| static String | NAMEThe name of this object. | 
| Constructor and Description | 
|---|
| PDShading()Default constructor. | 
| PDShading(COSName name,
         COSDictionary shading)Constructor. | 
| Modifier and Type | Method and 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. | 
| 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() | 
public static final String NAME
public PDShading()
public PDShading(COSName name, COSDictionary shading)
shading - The shading dictionary.public String getName()
public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSName getShadingName()
public int getShadingType()
public PDColorSpace getColorSpace() throws IOException
IOExceptionpublic boolean getAntiAlias()
public COSArray getCoords()
public PDFunction getFunction() throws IOException
IOExceptionpublic COSArray getDomain()
public COSArray getExtend()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.