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 classBuilder for line-of-sight (LOS) styles. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this style.voidclose()booleanprotected voidfinalize()android.graphics.ColorReturns the color that is used to indicate areas that are invisible to the observer in the center.android.graphics.ColorReturns the color that is used to indicate areas that are visible to the observer in the center.inthashCode()static LineOfSightStyle.BuilderCreates a new builder with the default values.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein 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
-