Package jcckit.graphic
Interface LineAttributes
-
- All Superinterfaces:
GraphicAttributes
- All Known Implementing Classes:
BasicGraphicAttributes
,ShapeAttributes
public interface LineAttributes extends GraphicAttributes
Interface for line attributes.- Author:
- Franz-Josef Elmer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Color
getLineColor()
Returns the line color.double[]
getLinePattern()
Returns the line pattern.double
getLineThickness()
Returns the line tickness. 0 means that the line thickness is chosen as thin as possible.
-
-
-
Method Detail
-
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.
-
-