Class TLspVerticalLineStyle

java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.view.lightspeed.style.TLspVerticalLineStyle
All Implemented Interfaces:
ILspStyler

public class TLspVerticalLineStyle extends ALspStyle
Style that defines a line perpendicular to the earth surface, to a point. This style can be used to visualize the projection of a certain elevated point onto a terrain.

Construction of a vertical style is done through the Builder design pattern mechanism.

Since:
2012.0
  • Method Details

    • newBuilder

      public static TLspVerticalLineStyle.Builder<?> newBuilder()
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • asBuilder

      public TLspVerticalLineStyle.Builder<?> asBuilder()
      Creates a new builder initialized with all the properties of this style.
      Specified by:
      asBuilder in class ALspStyle
      Returns:
      the new builder.
    • getColor

      public Color getColor()
      Gets the color.
      Returns:
      the color
    • isTransparent

      public boolean isTransparent()
      Description copied from class: ALspStyle
      Determines whether this style is transparent.

      Shapes that are transparent can be painted in a different paint phase than shapes that are not transparent.

      Specified by:
      isTransparent in class ALspStyle
      Returns:
      whether or not this style is transparent
    • getWidth

      public float getWidth()
      Gets the line width (pixels). The returned value is always strictly positive.
      Returns:
      the line width
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ALspStyle
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ALspStyle
    • toString

      public String toString()
      Overrides:
      toString in class Object