Class FillStyle

java.lang.Object
com.luciad.layers.styles.FillStyle
All Implemented Interfaces:
AutoCloseable

public final class FillStyle extends Object implements AutoCloseable
This class contains styling properties to determine how an area is filled.
  • Method Details

    • finalize

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

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

      @NotNull public static FillStyle.Builder newBuilder()
      Returns a new builder for creating a FillStyle.
      Returns:
      a new builder for creating a FillStyle.
    • getColor

      @NotNull public android.graphics.Color getColor()
      Returns the fill color.
      Returns:
      the fill color.
    • getImage

      @Nullable public Image getImage()
      Returns the image to use as fill style, or null if no image is used.
      Returns:
      the image to use as fill style, or null if no image is used.
    • getIcon

      @Nullable public IIcon getIcon()
      Returns the icon to use as fill style, or null if no icon is used.
      Returns:
      the icon to use as fill style, or null if no icon is used.
    • asBuilder

      @NotNull public FillStyle.Builder asBuilder()
      Returns a builder that has all properties of this FillStyle.
      Returns:
      a builder that has all properties of this FillStyle.