Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jcckit.graphic
Interface LineAttributes

All Superinterfaces:
  GraphicAttributes

All Known Implementing Classes:
  ShapeAttributes

public interface LineAttributes
extends GraphicAttributes

Interface for line attributes.

Author:
  Franz-Josef Elmer

Method Summary
`java.awt.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

    public java.awt.Color getLineColor()

  Returns the line color.

  Returns:
    `null` means default color of the renderer.

### getLineThickness

    public 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

    public 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD