Package com.luciad.layers.styles
Class LineOfSightStyle.Builder
java.lang.Object
com.luciad.layers.styles.LineOfSightStyle.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
LineOfSightStyle
Builder for line-of-sight (LOS) styles.
The default line-of-sight style has a red visible color, a green invisible color and an orange unknown color.
- Since:
- 2025.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newly created line-of-sight style, based on the properties set on this builder.void
close()
protected void
finalize()
invisibleColor
(android.graphics.Color color) Sets the color that is used to indicate areas that are invisible to the observer in the center.visibleColor
(android.graphics.Color color) Sets the color that is used to indicate areas that are visible to the observer in the center.
-
Constructor Details
-
Builder
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
build
Returns a newly created line-of-sight style, based on the properties set on this builder.- Returns:
- a newly created line-of-sight style, based on the properties set on this builder.
-
visibleColor
Sets the color that is used to indicate areas that are visible to the observer in the center.This parameter is optional. If not set, default is red.
- Parameters:
color
- the visible color- Returns:
- this builder.
-
invisibleColor
Sets the color that is used to indicate areas that are invisible to the observer in the center.This parameter is optional. If not set, default is green.
- Parameters:
color
- the invisible color- Returns:
- this builder.
-