Package com.luciad.layers.styles
Class ParameterizedFillStyle.Builder
java.lang.Object
com.luciad.layers.styles.ParameterizedFillStyle.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
ParameterizedFillStyle
A builder class for creating fill styles.
- Since:
- 2026.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newly created fill style, based on the properties set on this builder.voidclose()colorExpression(StyleExpression<android.graphics.Color> colorExpression) Sets the fill color expression.protected voidfinalize()visibilityExpression(StyleExpression<Boolean> visibilityExpression) Sets the fill visibility expression.
-
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
-
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.
-