Package com.luciad.maps.effects
Class GradientAtmosphereModel
java.lang.Object
com.luciad.maps.effects.AtmosphereModel
com.luciad.maps.effects.GradientAtmosphereModel
- All Implemented Interfaces:
AutoCloseable
Atmosphere model that draws a simple sky/horizon color gradient around the globe.
In a geocentric view a gradient going from getHorizonColor to getSkyColor is visible on the horizon. This is the default atmosphere model.
- Since:
- 2026.1
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionCreates a builder pre-filled with this model's parameters.voidclose()booleanprotected voidfinalize()android.graphics.ColorReturns the horizon color.android.graphics.ColorReturns the sky color.inthashCode()Creates a new builder with the default gradient parameters.
-
Method Details
-
finalize
protected void finalize()- Overrides:
finalizein classAtmosphereModel
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classAtmosphereModel
-
newBuilder
Creates a new builder with the default gradient parameters.- Returns:
- a new builder.
-
asBuilder
Creates a builder pre-filled with this model's parameters.- Returns:
- a builder pre-filled with this model's parameters.
-
getSkyColor
@NotNull public android.graphics.Color getSkyColor()Returns the sky color.- Returns:
- the sky color.
-
getHorizonColor
@NotNull public android.graphics.Color getHorizonColor()Returns the horizon color.- Returns:
- the horizon color.
-
hashCode
public int hashCode() -
equals
-