com.supermap.data.mapGrid
类 MapGridRangeBound
- java.lang.Object
-
- com.supermap.data.mapGrid.MapGridRangeBound
-
public class MapGridRangeBound extends java.lang.Object地图格网范围类
-
-
构造器概要
构造器 构造器和说明 MapGridRangeBound()构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 Rectangle2DgetBounds()获取地图格网边界doublegetCellHeight()获取单格高度doublegetCellWidth()获取单格宽度intgetColumnCount()获取格网列数intgetRowCount()获取格网行数voidresetCellHeight()重置单格高度voidresetCellWidth()重置单格宽度voidresetColumnCount()重置列数voidresetRowCount()重置行数voidsetBounds(Rectangle2D bounds)设置地图格网边界voidsetCellHeight(double cellHeight)设置单格高度voidsetCellWidth(double cellWidth)设置单个宽度voidsetColumnCount(int columnCount)设置格网列数voidsetRowCount(int rowCount)设置格网行数
-
-
-
方法详细资料
-
getBounds
public Rectangle2D getBounds()
获取地图格网边界- 返回:
- 格网边界
-
setBounds
public void setBounds(Rectangle2D bounds)
设置地图格网边界- 参数:
bounds- 格网边界
-
getRowCount
public int getRowCount()
获取格网行数- 返回:
- 格网行数
-
setRowCount
public void setRowCount(int rowCount)
设置格网行数- 参数:
rowCount- 格网行数
-
getColumnCount
public int getColumnCount()
获取格网列数- 返回:
- 格网列数
-
setColumnCount
public void setColumnCount(int columnCount)
设置格网列数- 参数:
columnCount- 格网列数
-
getCellHeight
public double getCellHeight()
获取单格高度- 返回:
- 高度
-
setCellHeight
public void setCellHeight(double cellHeight)
设置单格高度- 参数:
cellHeight- 高度
-
getCellWidth
public double getCellWidth()
获取单格宽度- 返回:
- 宽度
-
setCellWidth
public void setCellWidth(double cellWidth)
设置单个宽度- 参数:
cellWidth- 宽度
-
resetColumnCount
public void resetColumnCount()
重置列数
-
resetRowCount
public void resetRowCount()
重置行数
-
resetCellHeight
public void resetCellHeight()
重置单格高度
-
resetCellWidth
public void resetCellWidth()
重置单格宽度
-
-