Package jcckit.graphic
Interface LineAttributes
- All Superinterfaces:
GraphicAttributes
- All Known Implementing Classes:
BasicGraphicAttributes
,ShapeAttributes
Interface for line attributes.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the line color.double[]
Returns the line pattern.double
Returns the line tickness.
-
Method Details
-
getLineColor
Color getLineColor()Returns the line color.- Returns:
- null means default color of the renderer.
-
getLineThickness
double getLineThickness()Returns the line tickness. 0 means that the line thickness is chosen as thin as possible. Implementations have to guarantee that the returned value is never negative. -
getLinePattern
double[] getLinePattern()Returns the line pattern. This is a sequence of length where the pen is down or up. The first element is the length where the pen is down. The next element is the length where the pen is up. The pattern is cyclically repeated.- Returns:
- null means solid line.
-