Class ParameterizedFillStyle.Builder

java.lang.Object
com.luciad.layers.styles.ParameterizedFillStyle.Builder
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ParameterizedFillStyle

public static final class ParameterizedFillStyle.Builder extends Object implements AutoCloseable
A builder class for creating fill styles.
Since:
2026.0
  • Constructor Details

  • Method Details

    • finalize

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

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

      @NotNull public ParameterizedFillStyle build()
      Returns a newly created fill style, based on the properties set on this builder.
      Returns:
      a newly created fill style.
    • colorExpression

      @NotNull public ParameterizedFillStyle.Builder colorExpression(@NotNull StyleExpression<android.graphics.Color> colorExpression)
      Sets the fill color expression.

      By default, the color is white.

      Parameters:
      colorExpression - the expression used to determine the fill color
      Returns:
      this builder.
    • visibilityExpression

      @NotNull public ParameterizedFillStyle.Builder visibilityExpression(@NotNull StyleExpression<Boolean> visibilityExpression)
      Sets the fill visibility expression.

      By default, the fill is visible.

      Parameters:
      visibilityExpression - the expression used to determine visibility
      Returns:
      this builder.