|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Stroke
Encapsulates the stroke attributes that can be applied to any line Graphic.
Field Summary | |
---|---|
static String |
ARROW_DIRECTION
arrow direction attribute name. |
static String |
ARROW_STYLE
arrow style attribute name. |
static String |
COLOR
color attribute name. |
static String |
DASH_ARRAY
dash array attribute name. |
static String |
DASH_OFFSET
dash offset attribute name. |
static String |
FILL
fill attribute name. |
static String |
LINE_CAP
line cap attribute name. |
static String |
LINE_GAP
line gap attribute name. |
static String |
LINE_JOIN
line join attribute name. |
static String |
LINE_STYLE
line style attribute name. |
static String |
OPACITY
opacity attribute name. |
static String |
WIDTH
width attribute name. |
Method Summary | |
---|---|
ArrowStyle |
getBeginArrowStyle()
Returns the stroke begin arrow style value. |
Color |
getColor()
Returns the stroke color value. |
DashArray |
getDashArray()
Returns the stroke dash array value. |
float |
getDashOffset()
Returns the stroke dash offset value. |
ArrowStyle |
getEndArrowStyle()
Returns the stroke end arrow style value. |
Fill |
getFill()
Returns the stroke fill value. |
LineCap |
getLineCap()
Returns the stroke line cap value. |
float |
getLineGap()
Returns the stroke line gap value. |
LineJoin |
getLineJoin()
Returns the stroke line join value. |
LineStyle |
getLineStyle()
Returns the stroke line style value. |
float |
getOpacity()
Returns the opacity value. |
float |
getWidth()
Returns the width value. |
boolean |
isBeginArrowStyleSet()
Returns whether the stroke begin arrow style value has been set. |
boolean |
isColorSet()
Returns whether the stroke color value has been set. |
boolean |
isDashArraySet()
Returns whether the stroke dash array value has been set. |
boolean |
isDashOffsetSet()
Returns whether the stroke dash offset value has been set. |
boolean |
isEndArrowStyleSet()
Returns whether the stroke end arrow style value has been set. |
boolean |
isFillSet()
Returns whether the stroke fill value has been set. |
boolean |
isLineCapSet()
Returns whether the stroke line cap value has been set. |
boolean |
isLineGapSet()
Returns whether the stroke line gap value has been set. |
boolean |
isLineJoinSet()
Returns whether the stroke line join value has been set. |
boolean |
isLineStyleSet()
Returns whether the stroke line style value has been set. |
boolean |
isOpacitySet()
Returns whether the opacity value has been set. |
boolean |
isWidthSet()
Returns whether the width value has been set. |
void |
setBeginArrowStyle(ArrowStyle strokeArrowStyle)
Sets the stroke begin arrow style value. |
void |
setBeginArrowStyleSet(boolean flag)
Sets the fact that the stroke begin arrow style value has been set. |
void |
setColor(Color strokeColor)
Sets the stroke color value. |
void |
setColorSet(boolean flag)
Sets the fact that the stroke color value has been set. |
void |
setDashArray(DashArray strokeDashArray)
Sets the stroke dash array value. |
void |
setDashArraySet(boolean flag)
Sets the fact that the stroke dash array value has been set. |
void |
setDashOffset(float strokeDashOffset)
Sets the stroke dash offset value. |
void |
setDashOffsetSet(boolean flag)
Sets the fact that the stroke dash offset value has been set. |
void |
setEndArrowStyle(ArrowStyle strokeArrowStyle)
Sets the stroke end arrow style value. |
void |
setEndArrowStyleSet(boolean flag)
Sets the fact that the stroke end arrow style value has been set. |
void |
setFill(Fill strokeFill)
Sets the stroke fill value. |
void |
setFillSet(boolean flag)
Sets the fact that the stroke fill value has been set. |
void |
setLineCap(LineCap strokeLineCap)
Sets the stroke line cap value. |
void |
setLineCapSet(boolean flag)
Sets the fact that the stroke line cap value has been set. |
void |
setLineGap(float strokeLineGap)
Sets the stroke line gap value. |
void |
setLineGapSet(boolean flag)
Sets the fact that the stroke line gap value has been set. |
void |
setLineJoin(LineJoin strokeLineJoin)
Sets the stroke line join value. |
void |
setLineJoinSet(boolean flag)
Sets the fact that the stroke line join value has been set. |
void |
setLineStyle(LineStyle strokeLineStyle)
Sets the stroke line style value. |
void |
setLineStyleSet(boolean flag)
Sets the fact that the stroke line style value has been set. |
void |
setOpacity(float opacity)
Sets the opacity value. |
void |
setOpacitySet(boolean flag)
Sets the fact that the opacity value has been set. |
void |
setWidth(float width)
Sets the width value. |
void |
setWidthSet(boolean flag)
Sets the fact that the width value has been set. |
Field Detail |
---|
static final String ARROW_DIRECTION
static final String ARROW_STYLE
static final String COLOR
static final String DASH_ARRAY
static final String DASH_OFFSET
static final String FILL
static final String LINE_CAP
static final String LINE_GAP
static final String LINE_JOIN
static final String LINE_STYLE
static final String OPACITY
static final String WIDTH
Method Detail |
---|
ArrowStyle getBeginArrowStyle()
boolean isBeginArrowStyleSet()
void setBeginArrowStyle(ArrowStyle strokeArrowStyle)
strokeArrowStyle
- the stroke begin arrow style value.void setBeginArrowStyleSet(boolean flag)
flag
- true if the stroke begin arrow style value has been set, false otherwise.ArrowStyle getEndArrowStyle()
boolean isEndArrowStyleSet()
void setEndArrowStyle(ArrowStyle strokeArrowStyle)
strokeArrowStyle
- the stroke end arrow style value.void setEndArrowStyleSet(boolean flag)
flag
- true if the stroke end arrow style value has been set, false otherwise.Color getColor()
boolean isColorSet()
void setColor(Color strokeColor)
strokeColor
- the stroke color value.void setColorSet(boolean flag)
flag
- true if the stroke color value has been set, false otherwise.DashArray getDashArray()
boolean isDashArraySet()
void setDashArray(DashArray strokeDashArray)
strokeDashArray
- the stroke dash array value.void setDashArraySet(boolean flag)
flag
- true if the stroke dash array value has been set, false otherwise.float getDashOffset()
boolean isDashOffsetSet()
void setDashOffset(float strokeDashOffset)
strokeDashOffset
- the stroke dash offset value.void setDashOffsetSet(boolean flag)
flag
- true if the stroke dash offset value has been set, false otherwise.Fill getFill()
boolean isFillSet()
void setFill(Fill strokeFill)
strokeFill
- the stroke fill value.void setFillSet(boolean flag)
flag
- true if the stroke fill value has been set, false otherwise.LineCap getLineCap()
boolean isLineCapSet()
void setLineCap(LineCap strokeLineCap)
strokeLineCap
- the stroke line cap value.void setLineCapSet(boolean flag)
flag
- true if the stroke line cap value has been set, false otherwise.float getLineGap()
boolean isLineGapSet()
void setLineGap(float strokeLineGap)
strokeLineGap
- the stroke line gap value.void setLineGapSet(boolean flag)
flag
- true if the stroke line gap value has been set, false otherwise.LineJoin getLineJoin()
boolean isLineJoinSet()
void setLineJoin(LineJoin strokeLineJoin)
strokeLineJoin
- the stroke line join value.void setLineJoinSet(boolean flag)
flag
- true if the stroke line join value has been set, false otherwise.LineStyle getLineStyle()
boolean isLineStyleSet()
void setLineStyle(LineStyle strokeLineStyle)
strokeLineStyle
- the stroke line style value.void setLineStyleSet(boolean flag)
flag
- true if the stroke line style value has been set, false otherwise.float getOpacity()
boolean isOpacitySet()
void setOpacity(float opacity)
opacity
- the opacity value.void setOpacitySet(boolean flag)
flag
- true if the opacity value has been set, false otherwise.float getWidth()
boolean isWidthSet()
void setWidth(float width)
width
- the width value.void setWidthSet(boolean flag)
flag
- true if the width value has been set, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |