public class PDBorderEffectDictionary extends Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
static String |
STYLE_CLOUDY
Constant for the name of a cloudy effect.
|
static 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.
|
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(String s)
This will set the border effect, see the STYLE_* constants for valid values.
|
public static final String STYLE_SOLID
public static final String STYLE_CLOUDY
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(String s)
s
- the border effect to usepublic String getStyle()
STYLE_SOLID
if none is found.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.