|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.annotation.PDBorderStyleDictionary
public class PDBorderStyleDictionary
This class represents a PDF /BS entry the border style dictionary.
Field Summary | |
---|---|
static String |
STYLE_BEVELED
Constant for the name of a beveled style. |
static String |
STYLE_DASHED
Constant for the name of a dashed style. |
static String |
STYLE_INSET
Constant for the name of a inset style. |
static String |
STYLE_SOLID
Constant for the name of a solid style. |
static String |
STYLE_UNDERLINE
Constant for the name of a underline style. |
Constructor Summary | |
---|---|
PDBorderStyleDictionary()
Constructor. |
|
PDBorderStyleDictionary(COSDictionary dict)
Constructor. |
Method Summary | |
---|---|
COSBase |
getCOSObject()
returns the dictionary. |
PDLineDashPattern |
getDashStyle()
This will retrieve the dash style used for drawing the border. |
COSDictionary |
getDictionary()
returns the dictionary. |
String |
getStyle()
This will retrieve the border style, see the STYLE_* constants for valid values. |
float |
getWidth()
This will retrieve the border width in points, 0 = no border. |
void |
setDashStyle(PDLineDashPattern d)
This will set the dash style used for drawing the border. |
void |
setStyle(String s)
This will set the border style, see the STYLE_* constants for valid values. |
void |
setWidth(float w)
This will set the border width in points, 0 = no border. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String STYLE_SOLID
public static final String STYLE_DASHED
public static final String STYLE_BEVELED
public static final String STYLE_INSET
public static final String STYLE_UNDERLINE
Constructor Detail |
---|
public PDBorderStyleDictionary()
public PDBorderStyleDictionary(COSDictionary dict)
dict
- a border style dictionary.Method Detail |
---|
public COSDictionary getDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public void setWidth(float w)
w
- float the width in pointspublic float getWidth()
public void setStyle(String s)
s
- the border style to usepublic String getStyle()
public void setDashStyle(PDLineDashPattern d)
d
- the dash style to usepublic PDLineDashPattern getDashStyle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |