public class LatLonGrid
extends java.lang.Object
implements java.io.Serializable
地球经纬网设置类。
用于设置经纬网对象以及其中的文字对象是否可见。
限定符和类型 | 字段和说明 |
---|---|
boolean |
textVisible
经纬网对象上的文字是否可见。
|
boolean |
visible
经纬网是否可见。
|
构造器和说明 |
---|
LatLonGrid()
默认构造函数。
|
LatLonGrid(LatLonGrid latLonGrid)
拷贝构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
LatLonGrid |
copy()
拷贝副本。
|
boolean |
equals(java.lang.Object obj)
判断指定对象跟当前
LatLonGrid 对象是否相等。 |
int |
hashCode()
获取经纬网对象的哈希码。
|
public boolean visible
经纬网是否可见。true 为可见,否则,为不可见。
public boolean textVisible
经纬网对象上的文字是否可见。true 为可见,否则,为不可见。
public LatLonGrid()
默认构造函数。
public LatLonGrid(LatLonGrid latLonGrid)
拷贝构造函数。
latLonGrid
- 经纬网对象。public final LatLonGrid copy()
拷贝副本。即生成一个跟本对象一样的新的经纬网对象。
public boolean equals(java.lang.Object obj)
判断指定对象跟当前 LatLonGrid
对象是否相等。
equals
在类中 java.lang.Object
obj
- 跟当前 LatLonGrid
对象进行比较的对象。Object.equals(java.lang.Object)
public int hashCode()
获取经纬网对象的哈希码。
hashCode
在类中 java.lang.Object
Object.hashCode()