Package com.luciad.layers.styles
Class FillStyle
java.lang.Object
com.luciad.layers.styles.FillStyle
- All Implemented Interfaces:
AutoCloseable
This class contains styling properties to determine how an area is filled.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder class for creating fill styles. -
Method Summary
Modifier and TypeMethodDescriptionReturns a builder that has all properties of thisFillStyle.voidclose()protected voidfinalize()getBloom()Returns the bloom to use, ornullif no bloom is used.android.graphics.ColorgetColor()Returns the fill color.getIcon()Returns the icon to use as fill style, ornullif no icon is used.getImage()Returns the image to use as fill style, ornullif no image is used.static FillStyle.BuilderReturns a new builder for creating aFillStyle.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
newBuilder
Returns a new builder for creating aFillStyle.- Returns:
- a new builder for creating a
FillStyle.
-
getColor
@NotNull public android.graphics.Color getColor()Returns the fill color.- Returns:
- the fill color.
-
getImage
Returns the image to use as fill style, ornullif no image is used.- Returns:
- the image to use as fill style, or
nullif no image is used.
-
getIcon
Returns the icon to use as fill style, ornullif no icon is used.- Returns:
- the icon to use as fill style, or
nullif no icon is used.
-
getBloom
Returns the bloom to use, ornullif no bloom is used.- Returns:
- the bloom to use, or
nullif no bloom is used. - Since:
- 2026.1
-
asBuilder
Returns a builder that has all properties of thisFillStyle.- Returns:
- a builder that has all properties of this
FillStyle.
-