Class GradientAtmosphereModel.Builder

java.lang.Object
com.luciad.maps.effects.GradientAtmosphereModel.Builder
All Implemented Interfaces:
AutoCloseable
Enclosing class:
GradientAtmosphereModel

public static final class GradientAtmosphereModel.Builder extends Object implements AutoCloseable
Since:
2026.1
  • Constructor Details

  • Method Details

    • finalize

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

      public void close()
      Specified by:
      close in interface AutoCloseable
    • skyColor

      @NotNull public GradientAtmosphereModel.Builder skyColor(@NotNull android.graphics.Color color)
      Sets the sky color.

      The default is a light blue.

      Parameters:
      color - the sky color.
      Returns:
      this builder.
    • horizonColor

      @NotNull public GradientAtmosphereModel.Builder horizonColor(@NotNull android.graphics.Color color)
      Sets the horizon color.

      The default is white.

      Parameters:
      color - the horizon color.
      Returns:
      this builder.
    • build

      @NotNull public GradientAtmosphereModel build()
      Builds the gradient atmosphere model.
      Returns:
      the built gradient atmosphere model.