public class PDBorderEffectDictionary extends java.lang.Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
private COSDictionary |
dictionary |
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 and Description |
---|
PDBorderEffectDictionary()
Constructor.
|
PDBorderEffectDictionary(COSDictionary dict)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getCOSObject()
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
private final COSDictionary dictionary
public PDBorderEffectDictionary()
public PDBorderEffectDictionary(COSDictionary dict)
dict
- a border style dictionary.public COSDictionary 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()
STYLE_SOLID
if none is found.