public final class LonLatGridSetting extends Object implements AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
LonLatGridSetting.Builder
Builder for a LonLat grid setting.
|
Constructor and Description |
---|
LonLatGridSetting(LonLatGridSetting other) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(Object other) |
protected void |
finalize() |
double |
getDeltaLat()
Returns the angle between latitude grid lines in degrees.
|
double |
getDeltaLon()
Returns the angle between longitude grid lines in degrees.
|
double |
getLabelEdgeOffset()
Returns the label edge offset.
|
LonLatFormat |
getLabelFormat()
Returns the label format.
|
double |
getLabelGridOffset()
Returns the label grid offset.
|
GridLabelOrientation |
getLabelOrientation()
Returns the label orientation.
|
LonLatGridLabelPosition |
getLabelPosition()
Returns the label position.
|
TextStyle |
getLabelStyle()
Returns the label style.
|
GridLineLabelPosition |
getLineLabelPosition()
Returns the line label position.
|
LineStyle |
getLineStyle()
Returns the line style.
|
MapScale |
getMaxScale()
Returns the max scale (most zoomed in) for which this setting applies.
|
MapScale |
getMinScale()
Returns the min scale (most zoomed out) for which this setting applies.
|
TextStyle |
getOriginLabelStyle()
Returns the origin label style.
|
LineStyle |
getOriginLineStyle()
Returns the origin line style.
|
int |
hashCode() |
static LonLatGridSetting.Builder |
newBuilder()
Creates a new builder with the default values.
|
public LonLatGridSetting(@NotNull LonLatGridSetting other)
public void close()
close
in interface AutoCloseable
@NotNull public static LonLatGridSetting.Builder newBuilder()
@NotNull public MapScale getMinScale()
@NotNull public MapScale getMaxScale()
public double getDeltaLon()
public double getDeltaLat()
@NotNull public LineStyle getLineStyle()
@NotNull public LineStyle getOriginLineStyle()
@NotNull public TextStyle getLabelStyle()
@NotNull public TextStyle getOriginLabelStyle()
public double getLabelEdgeOffset()
public double getLabelGridOffset()
@NotNull public GridLineLabelPosition getLineLabelPosition()
@NotNull public GridLabelOrientation getLabelOrientation()
@NotNull public LonLatGridLabelPosition getLabelPosition()
@NotNull public LonLatFormat getLabelFormat()