public class PDBoxStyle extends Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
static String |
GUIDELINE_STYLE_DASHED
Style for guideline.
|
static String |
GUIDELINE_STYLE_SOLID
Style for guideline.
|
Constructor and Description |
---|
PDBoxStyle()
Default Constructor.
|
PDBoxStyle(COSDictionary dic)
Constructor for an existing BoxStyle element.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
PDColor |
getGuidelineColor()
Get the RGB 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(PDColor 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(COSArray dashArray)
Set the line dash pattern associated with this box style.
|
public static final String GUIDELINE_STYLE_SOLID
public static final String GUIDELINE_STYLE_DASHED
public PDBoxStyle()
public PDBoxStyle(COSDictionary dic)
dic
- The existing dictionary.public COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public PDColor getGuidelineColor()
public void setGuideLineColor(PDColor 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_SOLID
public void setGuidelineStyle(String style)
style
- The style for the box line.GUIDELINE_STYLE_DASHED
,
GUIDELINE_STYLE_SOLID
public PDLineDashPattern getLineDashPattern()
public void setLineDashPattern(COSArray dashArray)
dashArray
- The patter for this box style.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.