Interface LineStyle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LineCap
getLineCap()
Returns the line cap style used on line ends.java.awt.Color
getLineColor()
Returns the color used to draw the border.DashPattern
getLineDashPattern()
Returns the dash pattern used to draw the line.LineJoin
getLineJoin()
float
getLineWidth()
Returns the width, in points, of the line.void
setLineCap(LineCap cap)
Sets the line cap style used on line ends.void
setLineColor(java.awt.Color borderColor)
Sets the color used to draw the line.void
setLineDashPattern(DashPattern pat)
Sets the dash pattern used to draw the line.void
setLineJoin(LineJoin join)
Sets the line join style used for paths containing multiple line or curve segments.void
setLineWidth(float borderWidth)
Sets the width, in points, of the line.
-
-
-
Method Detail
-
getLineColor
java.awt.Color getLineColor()
Returns the color used to draw the border.- Returns:
- the border color
-
getLineWidth
float getLineWidth()
Returns the width, in points, of the line.- Returns:
- the border line width
-
getLineDashPattern
DashPattern getLineDashPattern()
Returns the dash pattern used to draw the line.- Returns:
- the dash pattern for the border
-
setLineColor
void setLineColor(java.awt.Color borderColor)
Sets the color used to draw the line.- Parameters:
borderColor
-
-
setLineWidth
void setLineWidth(float borderWidth)
Sets the width, in points, of the line.- Parameters:
borderWidth
-
-
setLineDashPattern
void setLineDashPattern(DashPattern pat)
Sets the dash pattern used to draw the line.- Parameters:
pat
- the dash pattern type
-
setLineCap
void setLineCap(LineCap cap)
Sets the line cap style used on line ends.- Parameters:
cap
- the line cap type
-
getLineCap
LineCap getLineCap()
Returns the line cap style used on line ends.- Returns:
- the line cap style
-
setLineJoin
void setLineJoin(LineJoin join)
Sets the line join style used for paths containing multiple line or curve segments.- Parameters:
join
- the new line join style
-
getLineJoin
LineJoin getLineJoin()
-
-