org.opengis.go.display.style
Interface Stroke
-
public interface StrokeEncapsulates the stroke attributes that can be applied to any line Graphic.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringARROW_DIRECTIONarrow direction attribute name.static java.lang.StringARROW_STYLEarrow style attribute name.static java.lang.StringCOLORcolor attribute name.static java.lang.StringDASH_ARRAYdash array attribute name.static java.lang.StringDASH_OFFSETdash offset attribute name.static java.lang.StringFILLfill attribute name.static java.lang.StringLINE_CAPline cap attribute name.static java.lang.StringLINE_GAPline gap attribute name.static java.lang.StringLINE_JOINline join attribute name.static java.lang.StringLINE_STYLEline style attribute name.static java.lang.StringOPACITYopacity attribute name.static java.lang.StringWIDTHwidth attribute name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ArrowStylegetBeginArrowStyle()Returns the stroke begin arrow style value.java.awt.ColorgetColor()Returns the stroke color value.DashArraygetDashArray()Returns the stroke dash array value.floatgetDashOffset()Returns the stroke dash offset value.ArrowStylegetEndArrowStyle()Returns the stroke end arrow style value.FillgetFill()Returns the stroke fill value.LineCapgetLineCap()Returns the stroke line cap value.floatgetLineGap()Returns the stroke line gap value.LineJoingetLineJoin()Returns the stroke line join value.LineStylegetLineStyle()Returns the stroke line style value.floatgetOpacity()Returns the opacity value.floatgetWidth()Returns the width value.booleanisBeginArrowStyleSet()Returns whether the stroke begin arrow style value has been set.booleanisColorSet()Returns whether the stroke color value has been set.booleanisDashArraySet()Returns whether the stroke dash array value has been set.booleanisDashOffsetSet()Returns whether the stroke dash offset value has been set.booleanisEndArrowStyleSet()Returns whether the stroke end arrow style value has been set.booleanisFillSet()Returns whether the stroke fill value has been set.booleanisLineCapSet()Returns whether the stroke line cap value has been set.booleanisLineGapSet()Returns whether the stroke line gap value has been set.booleanisLineJoinSet()Returns whether the stroke line join value has been set.booleanisLineStyleSet()Returns whether the stroke line style value has been set.booleanisOpacitySet()Returns whether the opacity value has been set.booleanisWidthSet()Returns whether the width value has been set.voidsetBeginArrowStyle(ArrowStyle strokeArrowStyle)Sets the stroke begin arrow style value.voidsetBeginArrowStyleSet(boolean flag)Sets the fact that the stroke begin arrow style value has been set.voidsetColor(java.awt.Color strokeColor)Sets the stroke color value.voidsetColorSet(boolean flag)Sets the fact that the stroke color value has been set.voidsetDashArray(DashArray strokeDashArray)Sets the stroke dash array value.voidsetDashArraySet(boolean flag)Sets the fact that the stroke dash array value has been set.voidsetDashOffset(float strokeDashOffset)Sets the stroke dash offset value.voidsetDashOffsetSet(boolean flag)Sets the fact that the stroke dash offset value has been set.voidsetEndArrowStyle(ArrowStyle strokeArrowStyle)Sets the stroke end arrow style value.voidsetEndArrowStyleSet(boolean flag)Sets the fact that the stroke end arrow style value has been set.voidsetFill(Fill strokeFill)Sets the stroke fill value.voidsetFillSet(boolean flag)Sets the fact that the stroke fill value has been set.voidsetLineCap(LineCap strokeLineCap)Sets the stroke line cap value.voidsetLineCapSet(boolean flag)Sets the fact that the stroke line cap value has been set.voidsetLineGap(float strokeLineGap)Sets the stroke line gap value.voidsetLineGapSet(boolean flag)Sets the fact that the stroke line gap value has been set.voidsetLineJoin(LineJoin strokeLineJoin)Sets the stroke line join value.voidsetLineJoinSet(boolean flag)Sets the fact that the stroke line join value has been set.voidsetLineStyle(LineStyle strokeLineStyle)Sets the stroke line style value.voidsetLineStyleSet(boolean flag)Sets the fact that the stroke line style value has been set.voidsetOpacity(float opacity)Sets the opacity value.voidsetOpacitySet(boolean flag)Sets the fact that the opacity value has been set.voidsetWidth(float width)Sets the width value.voidsetWidthSet(boolean flag)Sets the fact that the width value has been set.
-
-
-
Field Detail
-
ARROW_DIRECTION
static final java.lang.String ARROW_DIRECTION
arrow direction attribute name.- See Also:
- Constant Field Values
-
ARROW_STYLE
static final java.lang.String ARROW_STYLE
arrow style attribute name.- See Also:
- Constant Field Values
-
COLOR
static final java.lang.String COLOR
color attribute name.- See Also:
- Constant Field Values
-
DASH_ARRAY
static final java.lang.String DASH_ARRAY
dash array attribute name.- See Also:
- Constant Field Values
-
DASH_OFFSET
static final java.lang.String DASH_OFFSET
dash offset attribute name.- See Also:
- Constant Field Values
-
FILL
static final java.lang.String FILL
fill attribute name.- See Also:
- Constant Field Values
-
LINE_CAP
static final java.lang.String LINE_CAP
line cap attribute name.- See Also:
- Constant Field Values
-
LINE_GAP
static final java.lang.String LINE_GAP
line gap attribute name.- See Also:
- Constant Field Values
-
LINE_JOIN
static final java.lang.String LINE_JOIN
line join attribute name.- See Also:
- Constant Field Values
-
LINE_STYLE
static final java.lang.String LINE_STYLE
line style attribute name.- See Also:
- Constant Field Values
-
OPACITY
static final java.lang.String OPACITY
opacity attribute name.- See Also:
- Constant Field Values
-
WIDTH
static final java.lang.String WIDTH
width attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getBeginArrowStyle
ArrowStyle getBeginArrowStyle()
Returns the stroke begin arrow style value.- Returns:
- the stroke begin arrow style value.
-
isBeginArrowStyleSet
boolean isBeginArrowStyleSet()
Returns whether the stroke begin arrow style value has been set.- Returns:
- true if the stroke begin arrow style value has been set, false otherwise.
-
setBeginArrowStyle
void setBeginArrowStyle(ArrowStyle strokeArrowStyle)
Sets the stroke begin arrow style value.- Parameters:
strokeArrowStyle- the stroke begin arrow style value.
-
setBeginArrowStyleSet
void setBeginArrowStyleSet(boolean flag)
Sets the fact that the stroke begin arrow style value has been set.- Parameters:
flag- true if the stroke begin arrow style value has been set, false otherwise.
-
getEndArrowStyle
ArrowStyle getEndArrowStyle()
Returns the stroke end arrow style value.- Returns:
- the stroke end arrow style value.
-
isEndArrowStyleSet
boolean isEndArrowStyleSet()
Returns whether the stroke end arrow style value has been set.- Returns:
- true if the stroke end arrow style value has been set, false otherwise.
-
setEndArrowStyle
void setEndArrowStyle(ArrowStyle strokeArrowStyle)
Sets the stroke end arrow style value.- Parameters:
strokeArrowStyle- the stroke end arrow style value.
-
setEndArrowStyleSet
void setEndArrowStyleSet(boolean flag)
Sets the fact that the stroke end arrow style value has been set.- Parameters:
flag- true if the stroke end arrow style value has been set, false otherwise.
-
getColor
java.awt.Color getColor()
Returns the stroke color value.- Returns:
- the stroke color value.
-
isColorSet
boolean isColorSet()
Returns whether the stroke color value has been set.- Returns:
- true if the stroke color value has been set, false otherwise.
-
setColor
void setColor(java.awt.Color strokeColor)
Sets the stroke color value.- Parameters:
strokeColor- the stroke color value.
-
setColorSet
void setColorSet(boolean flag)
Sets the fact that the stroke color value has been set.- Parameters:
flag- true if the stroke color value has been set, false otherwise.
-
getDashArray
DashArray getDashArray()
Returns the stroke dash array value.- Returns:
- the stroke dash array value.
-
isDashArraySet
boolean isDashArraySet()
Returns whether the stroke dash array value has been set.- Returns:
- true if the stroke dash array value has been set, false otherwise.
-
setDashArray
void setDashArray(DashArray strokeDashArray)
Sets the stroke dash array value.- Parameters:
strokeDashArray- the stroke dash array value.
-
setDashArraySet
void setDashArraySet(boolean flag)
Sets the fact that the stroke dash array value has been set.- Parameters:
flag- true if the stroke dash array value has been set, false otherwise.
-
getDashOffset
float getDashOffset()
Returns the stroke dash offset value.- Returns:
- the stroke dash offset value.
-
isDashOffsetSet
boolean isDashOffsetSet()
Returns whether the stroke dash offset value has been set.- Returns:
- true if the stroke dash offset value has been set, false otherwise.
-
setDashOffset
void setDashOffset(float strokeDashOffset)
Sets the stroke dash offset value.- Parameters:
strokeDashOffset- the stroke dash offset value.
-
setDashOffsetSet
void setDashOffsetSet(boolean flag)
Sets the fact that the stroke dash offset value has been set.- Parameters:
flag- true if the stroke dash offset value has been set, false otherwise.
-
getFill
Fill getFill()
Returns the stroke fill value.- Returns:
- the stroke fill value.
-
isFillSet
boolean isFillSet()
Returns whether the stroke fill value has been set.- Returns:
- true if the stroke fill value has been set, false otherwise.
-
setFill
void setFill(Fill strokeFill)
Sets the stroke fill value.- Parameters:
strokeFill- the stroke fill value.
-
setFillSet
void setFillSet(boolean flag)
Sets the fact that the stroke fill value has been set.- Parameters:
flag- true if the stroke fill value has been set, false otherwise.
-
getLineCap
LineCap getLineCap()
Returns the stroke line cap value.- Returns:
- the stroke line cap value.
-
isLineCapSet
boolean isLineCapSet()
Returns whether the stroke line cap value has been set.- Returns:
- true if the stroke line cap value has been set, false otherwise.
-
setLineCap
void setLineCap(LineCap strokeLineCap)
Sets the stroke line cap value.- Parameters:
strokeLineCap- the stroke line cap value.
-
setLineCapSet
void setLineCapSet(boolean flag)
Sets the fact that the stroke line cap value has been set.- Parameters:
flag- true if the stroke line cap value has been set, false otherwise.
-
getLineGap
float getLineGap()
Returns the stroke line gap value.- Returns:
- the stroke line gap value.
-
isLineGapSet
boolean isLineGapSet()
Returns whether the stroke line gap value has been set.- Returns:
- true if the stroke line gap value has been set, false otherwise.
-
setLineGap
void setLineGap(float strokeLineGap)
Sets the stroke line gap value.- Parameters:
strokeLineGap- the stroke line gap value.
-
setLineGapSet
void setLineGapSet(boolean flag)
Sets the fact that the stroke line gap value has been set.- Parameters:
flag- true if the stroke line gap value has been set, false otherwise.
-
getLineJoin
LineJoin getLineJoin()
Returns the stroke line join value.- Returns:
- the stroke line join value.
-
isLineJoinSet
boolean isLineJoinSet()
Returns whether the stroke line join value has been set.- Returns:
- true if the stroke line join value has been set, false otherwise.
-
setLineJoin
void setLineJoin(LineJoin strokeLineJoin)
Sets the stroke line join value.- Parameters:
strokeLineJoin- the stroke line join value.
-
setLineJoinSet
void setLineJoinSet(boolean flag)
Sets the fact that the stroke line join value has been set.- Parameters:
flag- true if the stroke line join value has been set, false otherwise.
-
getLineStyle
LineStyle getLineStyle()
Returns the stroke line style value.- Returns:
- the stroke line style value.
-
isLineStyleSet
boolean isLineStyleSet()
Returns whether the stroke line style value has been set.- Returns:
- true if the stroke line style value has been set, false otherwise.
-
setLineStyle
void setLineStyle(LineStyle strokeLineStyle)
Sets the stroke line style value.- Parameters:
strokeLineStyle- the stroke line style value.
-
setLineStyleSet
void setLineStyleSet(boolean flag)
Sets the fact that the stroke line style value has been set.- Parameters:
flag- true if the stroke line style value has been set, false otherwise.
-
getOpacity
float getOpacity()
Returns the opacity value.- Returns:
- the opacity value.
-
isOpacitySet
boolean isOpacitySet()
Returns whether the opacity value has been set.- Returns:
- true if the opacity value has been set, false otherwise.
-
setOpacity
void setOpacity(float opacity)
Sets the opacity value.- Parameters:
opacity- the opacity value.
-
setOpacitySet
void setOpacitySet(boolean flag)
Sets the fact that the opacity value has been set.- Parameters:
flag- true if the opacity value has been set, false otherwise.
-
getWidth
float getWidth()
Returns the width value.- Returns:
- the width value.
-
isWidthSet
boolean isWidthSet()
Returns whether the width value has been set.- Returns:
- true if the width value has been set, false otherwise.
-
setWidth
void setWidth(float width)
Sets the width value.- Parameters:
width- the width value.
-
setWidthSet
void setWidthSet(boolean flag)
Sets the fact that the width value has been set.- Parameters:
flag- true if the width value has been set, false otherwise.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG