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
Modifier and TypeClassDescriptionstatic final class
A builder class for creating fill styles. -
Method Summary
Modifier and TypeMethodDescriptionReturns a builder that has all properties of thisFillStyle
.void
close()
protected void
finalize()
android.graphics.Color
getColor()
Returns the fill color.getIcon()
Returns the icon to use as fill style, ornull
if no icon is used.getImage()
Returns the image to use as fill style, ornull
if no image is used.static FillStyle.Builder
Returns a new builder for creating aFillStyle
.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in 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, ornull
if no image is used.- Returns:
- the image to use as fill style, or
null
if no image is used.
-
getIcon
Returns the icon to use as fill style, ornull
if no icon is used.- Returns:
- the icon to use as fill style, or
null
if no icon is used.
-
asBuilder
Returns a builder that has all properties of thisFillStyle
.- Returns:
- a builder that has all properties of this
FillStyle
.
-