Package com.luciad.layers.grids.lonlat
Class LonLatGridSetting
java.lang.Object
com.luciad.layers.grids.lonlat.LonLatGridSetting
- All Implemented Interfaces:
AutoCloseable
LonLat grid setting.
- Since:
- 2023.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder for a LonLat grid setting. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
protected void
finalize()
double
Returns the angle between latitude grid lines in degrees.double
Returns the angle between longitude grid lines in degrees.double
Returns the label edge offset.Returns the label format.double
Returns the label grid offset.Returns the label orientation.Returns the label position.Returns the label style.Returns the line label position.Returns the line style.Returns the max scale (most zoomed in) for which this setting applies.Returns the min scale (most zoomed out) for which this setting applies.Returns the origin label style.Returns the origin line style.int
hashCode()
static LonLatGridSetting.Builder
Creates a new builder with the default values.
-
Constructor Details
-
LonLatGridSetting
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
-
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
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
Returns the line style.- Returns:
- the line style.
-
getOriginLineStyle
Returns the origin line style.- Returns:
- the origin line style.
-
getLabelStyle
Returns the label style.- Returns:
- the label style.
-
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
Returns the line label position.- Returns:
- the line label position.
-
getLabelOrientation
Returns the label orientation.- Returns:
- the label orientation.
-
getLabelPosition
Returns the label position.- Returns:
- the label position.
-
getLabelFormat
Returns the label format.- Returns:
- the label format.
-
hashCode
public int hashCode() -
equals
-