COSObjectable
public class PDBorderEffectDictionary extends java.lang.Object implements COSObjectable
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
STYLE_CLOUDY |
Constant for the name of a cloudy effect.
|
static java.lang.String |
STYLE_SOLID |
Constant for the name for no effect.
|
Constructor | Description |
---|---|
PDBorderEffectDictionary() |
Constructor.
|
PDBorderEffectDictionary(COSDictionary dict) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
COSBase |
getCOSObject() |
returns the dictionary.
|
COSDictionary |
getDictionary() |
returns the dictionary.
|
float |
getIntensity() |
This will retrieve the intensity of the applied effect.
|
java.lang.String |
getStyle() |
This will retrieve the border effect, see the STYLE_* constants for valid
values.
|
void |
setIntensity(float i) |
This will set the intensity of the applied effect.
|
void |
setStyle(java.lang.String s) |
This will set the border effect, see the STYLE_* constants for valid values.
|
public static final java.lang.String STYLE_SOLID
public static final java.lang.String STYLE_CLOUDY
public PDBorderEffectDictionary()
public PDBorderEffectDictionary(COSDictionary dict)
dict
- a border style dictionary.public COSDictionary getDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public void setIntensity(float i)
i
- the intensity of the effect values 0 to 2public float getIntensity()
public void setStyle(java.lang.String s)
s
- the border effect to usepublic java.lang.String getStyle()