Interface LineStyle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LineCapgetLineCap()Returns the line cap style used on line ends.java.awt.ColorgetLineColor()Returns the color used to draw the border.DashPatterngetLineDashPattern()Returns the dash pattern used to draw the line.LineJoingetLineJoin()floatgetLineWidth()Returns the width, in points, of the line.voidsetLineCap(LineCap cap)Sets the line cap style used on line ends.voidsetLineColor(java.awt.Color borderColor)Sets the color used to draw the line.voidsetLineDashPattern(DashPattern pat)Sets the dash pattern used to draw the line.voidsetLineJoin(LineJoin join)Sets the line join style used for paths containing multiple line or curve segments.voidsetLineWidth(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()
-
-