Class LonLatGridSetting

java.lang.Object
com.luciad.layers.grids.lonlat.LonLatGridSetting
All Implemented Interfaces:
AutoCloseable

public final class LonLatGridSetting extends Object implements AutoCloseable
LonLat grid setting.
Since:
2023.1
  • Constructor Details

  • 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 LonLatGridSetting.Builder newBuilder()
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • getMinScale

      @NotNull public MapScale getMinScale()
      Returns the min scale (most zoomed out) for which this setting applies.
      Returns:
      the min scale (most zoomed out) for which this setting applies.
    • getMaxScale

      @NotNull public MapScale getMaxScale()
      Returns the max scale (most zoomed in) for which this setting applies.
      Returns:
      the max scale (most zoomed in) for which this setting applies.
    • getDeltaLon

      public double getDeltaLon()
      Returns the angle between longitude grid lines in degrees.
      Returns:
      the angle between longitude grid lines in degrees.
    • getDeltaLat

      public double getDeltaLat()
      Returns the angle between latitude grid lines in degrees.
      Returns:
      the angle between latitude grid lines in degrees.
    • getLineStyle

      @NotNull public LineStyle getLineStyle()
      Returns the line style.
      Returns:
      the line style.
    • getOriginLineStyle

      @NotNull public LineStyle getOriginLineStyle()
      Returns the origin line style.
      Returns:
      the origin line style.
    • getLabelStyle

      @NotNull public TextStyle getLabelStyle()
      Returns the label style.
      Returns:
      the label style.
    • getOriginLabelStyle

      @NotNull public TextStyle getOriginLabelStyle()
      Returns the origin label style.
      Returns:
      the origin label style.
    • getLabelEdgeOffset

      public double getLabelEdgeOffset()
      Returns the label edge offset.
      Returns:
      the label edge offset.
    • getLabelGridOffset

      public double getLabelGridOffset()
      Returns the label grid offset.
      Returns:
      the label grid offset.
    • getLineLabelPosition

      @NotNull public GridLineLabelPosition getLineLabelPosition()
      Returns the line label position.
      Returns:
      the line label position.
    • getLabelOrientation

      @NotNull public GridLabelOrientation getLabelOrientation()
      Returns the label orientation.
      Returns:
      the label orientation.
    • getLabelPosition

      @NotNull public LonLatGridLabelPosition getLabelPosition()
      Returns the label position.
      Returns:
      the label position.
    • getLabelFormat

      @NotNull public LonLatFormat getLabelFormat()
      Returns the label format.
      Returns:
      the label format.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object