Package com.luciad.layers.styles
Class LineOfSightStyle
java.lang.Object
com.luciad.layers.styles.LineOfSightStyle
- All Implemented Interfaces:
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builder for line-of-sight (LOS) styles. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this style.void
close()
boolean
protected void
finalize()
android.graphics.Color
Returns the color that is used to indicate areas that are invisible to the observer in the center.android.graphics.Color
Returns the color that is used to indicate areas that are visible to the observer in the center.int
hashCode()
static LineOfSightStyle.Builder
Creates a new builder with the default values.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new 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() -
equals
-