|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.documentinterchange.prepress.PDBoxStyle
public class PDBoxStyle
The Box Style specifies visual characteristics for displaying box areas.
| Field Summary | |
|---|---|
static String |
GUIDELINE_STYLE_DASHED
Style for guideline. |
static String |
GUIDELINE_STYLE_SOLID
Style for guideline. |
| Constructor Summary | |
|---|---|
PDBoxStyle()
Default Constructor. |
|
PDBoxStyle(COSDictionary dic)
Constructor for an existing BoxStyle element. |
|
| Method Summary | |
|---|---|
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
COSDictionary |
getDictionary()
Convert this standard java object to a COS object. |
PDColorState |
getGuidelineColor()
Get the color to be used for the guidelines. |
String |
getGuidelineStyle()
Get the style for the guideline. |
float |
getGuidelineWidth()
Get the width of the of the guideline in default user space units. |
PDLineDashPattern |
getLineDashPattern()
Get the line dash pattern for this box style. |
void |
setGuideLineColor(PDColorState color)
Set the color space instance for this box style. |
void |
setGuidelineStyle(String style)
Set the style for the box. |
void |
setGuidelineWidth(float width)
Set the guideline width. |
void |
setLineDashPattern(PDLineDashPattern pattern)
Set the line dash pattern associated with this box style. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String GUIDELINE_STYLE_SOLID
public static final String GUIDELINE_STYLE_DASHED
| Constructor Detail |
|---|
public PDBoxStyle()
public PDBoxStyle(COSDictionary dic)
dic - The existing dictionary.| Method Detail |
|---|
public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSDictionary getDictionary()
public PDColorState getGuidelineColor()
public void setGuideLineColor(PDColorState color)
color - The new colorspace value.public float getGuidelineWidth()
public void setGuidelineWidth(float width)
width - The width in default user space units.public String getGuidelineStyle()
GUIDELINE_STYLE_DASHED,
GUIDELINE_STYLE_SOLIDpublic void setGuidelineStyle(String style)
style - The style for the box line.GUIDELINE_STYLE_DASHED,
GUIDELINE_STYLE_SOLIDpublic PDLineDashPattern getLineDashPattern()
public void setLineDashPattern(PDLineDashPattern pattern)
pattern - The patter for this box style.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||