Package com.luciad.maps.effects
Class GradientAtmosphereModel.Builder
java.lang.Object
com.luciad.maps.effects.GradientAtmosphereModel.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
GradientAtmosphereModel
Builder for a GradientAtmosphereModel.- Since:
- 2026.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the gradient atmosphere model.voidclose()protected voidfinalize()horizonColor(android.graphics.Color color) Sets the horizon color.skyColor(android.graphics.Color color) Sets the sky color.
-
Constructor Details
-
Builder
Copy constructor.- Parameters:
other- the builder to copy.
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
skyColor
Sets the sky color.The default is a light blue.
- Parameters:
color- the sky color.- Returns:
- this builder.
-
horizonColor
Sets the horizon color.The default is white.
- Parameters:
color- the horizon color.- Returns:
- this builder.
-
build
Builds the gradient atmosphere model.- Returns:
- the built gradient atmosphere model.
-