Class TLcdLineStyle

java.lang.Object
com.luciad.view.TLcdLineStyle
All Implemented Interfaces:
Serializable, Cloneable

public class TLcdLineStyle extends Object implements Serializable, Cloneable
This is a utility class that can be used to represent a line style to render lines. It includes a color, a width and a pattern.
See Also:
  • Field Details

  • Constructor Details

    • TLcdLineStyle

      public TLcdLineStyle()
    • TLcdLineStyle

      public TLcdLineStyle(int aWidth, int aPattern, Color aColor)
    • TLcdLineStyle

      public TLcdLineStyle(TLcdLineStyle aLineStyle)
  • Method Details

    • getColor

      public Color getColor()
      Gets the color of this line style.
    • setColor

      public void setColor(Color aColor)
      Sets the color of this line style.
    • getWidth

      public int getWidth()
      Gets the width of this line style.
    • setWidth

      public void setWidth(int aWidth)
      Sets the width of this line style: 0 means invisible.
    • getPattern

      public int getPattern()
      Gets the pattern of this line style. It is up to the developer to assign an interpretation value different from NONE and PLAIN.
    • setPattern

      public void setPattern(int aPattern)
      Sets the pattern of this line style. It is up to the developer to assign an interpretation value different from NONE and PLAIN.
    • equals

      public boolean equals(Object aObject)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class Object