Class GradientAtmosphereModel

java.lang.Object
com.luciad.maps.effects.AtmosphereModel
com.luciad.maps.effects.GradientAtmosphereModel
All Implemented Interfaces:
AutoCloseable

public final class GradientAtmosphereModel extends AtmosphereModel implements 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
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class AtmosphereModel
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class AtmosphereModel
    • newBuilder

      @NotNull public static GradientAtmosphereModel.Builder newBuilder()
      Creates a new builder with the default gradient parameters.
      Returns:
      a new builder.
    • asBuilder

      @NotNull public GradientAtmosphereModel.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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object