Class LineOfSightStyle

java.lang.Object
com.luciad.layers.styles.LineOfSightStyle
All Implemented Interfaces:
AutoCloseable

public final class LineOfSightStyle extends Object implements AutoCloseable
Style for line-of-sight (LOS) features.

Construction of a line-of-sight style is done through the Builder design pattern mechanism.

Since:
2025.0
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • newBuilder

      @NotNull public static LineOfSightStyle.Builder newBuilder()
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • asBuilder

      @NotNull public LineOfSightStyle.Builder asBuilder()
      Creates a new builder initialized with all the properties of this style.
      Returns:
      the new builder.
    • getVisibleColor

      @NotNull public android.graphics.Color getVisibleColor()
      Returns the color that is used to indicate areas that are visible to the observer in the center.
      Returns:
      the visible color.
    • getInvisibleColor

      @NotNull public android.graphics.Color getInvisibleColor()
      Returns the color that is used to indicate areas that are invisible to the observer in the center.
      Returns:
      the invisible color.
    • hashCode

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

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object