Class MeshStyle

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

public final class MeshStyle extends Object implements AutoCloseable
This class contains styling properties to determine how a mesh is painted.
  • 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 MeshStyle.Builder newBuilder()
      Creates a new builder for creating a MeshStyle.
      Returns:
      a new builder for creating a MeshStyle.
    • getColorExpression

      @Nullable public StyleExpression<android.graphics.Color> getColorExpression()
      Returns the color expression used to paint the mesh, or null if no expression was set.
      Returns:
      the color expression used to paint the mesh, or null if no expression was set.
      See Also:
    • getDisplacementExpression

      @Nullable public StyleExpression<Coordinate> getDisplacementExpression()
      Returns the expression used to displace the mesh, or null if no expression was set.
      Returns:
      the expression used to displace the mesh, or null if no expression was set.
      See Also:
    • getVisibilityExpression

      @Nullable public StyleExpression<Boolean> getVisibilityExpression()
      Returns the expression used to make (parts of) the mesh visible/invisible, or null if no expression was set.
      Returns:
      the expression used to make (parts of) the mesh visible/invisible, or null if no expression was set.
      See Also:
    • getFacetCulling

      @NotNull public FacetCullingType getFacetCulling()
      Returns the facet culling type used to paint the mesh.
      Returns:
      the facet culling type used to paint the mesh.
      See Also:
    • asBuilder

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