| java.lang.Object org.pdfbox.pdmodel.interactive.annotation.PDBorderStyleDictionary
PDBorderStyleDictionary | public class PDBorderStyleDictionary implements COSObjectable(Code) | | This class represents a PDF /BS entry the border style dictionary.
author: Paul King version: $Revision: 1.1 $ |
STYLE_BEVELED | final public static String STYLE_BEVELED(Code) | | Constant for the name of a beveled style.
|
STYLE_DASHED | final public static String STYLE_DASHED(Code) | | Constant for the name of a dashed style.
|
STYLE_INSET | final public static String STYLE_INSET(Code) | | Constant for the name of a inset style.
|
STYLE_SOLID | final public static String STYLE_SOLID(Code) | | Constant for the name of a solid style.
|
STYLE_UNDERLINE | final public static String STYLE_UNDERLINE(Code) | | Constant for the name of a underline style.
|
PDBorderStyleDictionary | public PDBorderStyleDictionary()(Code) | | Constructor.
|
PDBorderStyleDictionary | public PDBorderStyleDictionary(COSDictionary dict)(Code) | | Constructor.
Parameters: dict - a border style dictionary. |
getCOSObject | public COSBase getCOSObject()(Code) | | returns the dictionary.
the dictionary |
getDashStyle | public PDLineDashPattern getDashStyle()(Code) | | This will retrieve the dash style used for drawing the border.
the dash style of the border |
getStyle | public String getStyle()(Code) | | This will retrieve the border style, see the STYLE_* constants for valid
values.
the style of the border |
getWidth | public float getWidth()(Code) | | This will retrieve the border width in points, 0 = no border.
flaot the width of the border in points |
setDashStyle | public void setDashStyle(PDLineDashPattern d)(Code) | | This will set the dash style used for drawing the border.
Parameters: d - the dash style to use |
setStyle | public void setStyle(String s)(Code) | | This will set the border style, see the STYLE_* constants for valid values.
Parameters: s - the border style to use |
setWidth | public void setWidth(float w)(Code) | | This will set the border width in points, 0 = no border.
Parameters: w - float the width in points |
|
|