com.supermap.data.mapGrid
类 MapGridParam
- java.lang.Object
-
- com.supermap.data.mapGrid.MapGridParam
-
public class MapGridParam extends java.lang.Object地图格网参数类
-
-
构造器概要
构造器 构造器和说明 MapGridParam()构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 doublegetBottom()获取最小Y值Rectangle2DgetBounds()获取地图格网边界java.lang.DoublegetCellHeight()获取单元格高度java.lang.DoublegetCellLength()获取单元格宽度java.lang.DoublegetCellWidth()获取单元格宽度intgetColumnLineCount()获取格网列数MapGridShapegetGridShape()获取格网地图图层MapGridTypegetGridType()获取格网类型TextStylegetLabelStyle()获取标签文本风格doublegetLeft()获取最小XdoublegetRight()获取最大X值intgetRowLineCount()获取格网行数intgetSmoothness()获取光滑系数doublegetTop()获取最大Y值java.lang.BooleanisShowGrid()地图格网是否显示java.lang.BooleanisShowMajorDivision()是否显示主分割线voidsetBounds(Rectangle2D bounds)设置地图格网边界voidsetCellHeight(java.lang.Double cellHeight)设置单元格高度voidsetCellWidth(java.lang.Double cellWidth)设置单元格宽度voidsetColumnLineCount(int columnLineCount)设置格网列数voidsetGridShape(MapGridShape gridShape)社渚格网地图图层voidsetGridType(MapGridType gridType)设置格网类型voidsetLabelStyle(TextStyle labelStyle)设置标签文本风格voidsetRowLineCount(int rowLineCount)设置格网行数voidsetShowGrid(java.lang.Boolean showGrid)设置是否显示地图格网voidsetShowMajorDivision(java.lang.Boolean showMajorDivision)设置是否显示主分割线voidsetSmoothness(int smoothness)设置光滑系数
-
-
-
方法详细资料
-
getBounds
public Rectangle2D getBounds()
获取地图格网边界- 返回:
- 地图格网边界
-
setBounds
public void setBounds(Rectangle2D bounds)
设置地图格网边界- 参数:
bounds- 地图格网边界
-
getLeft
public double getLeft()
获取最小X- 返回:
- 最小X值
-
getTop
public double getTop()
获取最大Y值- 返回:
- 最大Y值
-
getRight
public double getRight()
获取最大X值- 返回:
- 最大X值
-
getBottom
public double getBottom()
获取最小Y值- 返回:
- 最小Y值
-
getCellWidth
public java.lang.Double getCellWidth()
获取单元格宽度- 返回:
- 单元格宽度
-
setCellWidth
public void setCellWidth(java.lang.Double cellWidth)
设置单元格宽度- 参数:
cellWidth- 单元格宽度
-
getCellLength
public java.lang.Double getCellLength()
获取单元格宽度- 返回:
- 单元格宽度
-
getCellHeight
public java.lang.Double getCellHeight()
获取单元格高度- 返回:
- 单元格高度
-
setCellHeight
public void setCellHeight(java.lang.Double cellHeight)
设置单元格高度- 参数:
cellHeight- 单元格高度
-
getRowLineCount
public int getRowLineCount()
获取格网行数- 返回:
- 格网行数
-
setRowLineCount
public void setRowLineCount(int rowLineCount)
设置格网行数- 参数:
rowLineCount- 格网行数
-
getColumnLineCount
public int getColumnLineCount()
获取格网列数- 返回:
- 格网列数
-
setColumnLineCount
public void setColumnLineCount(int columnLineCount)
设置格网列数- 参数:
columnLineCount- 格网列数
-
getGridType
public MapGridType getGridType()
获取格网类型- 返回:
- 格网类型
-
setGridType
public void setGridType(MapGridType gridType)
设置格网类型- 参数:
gridType- 格网类型
-
getSmoothness
public int getSmoothness()
获取光滑系数- 返回:
- 光滑系数
-
setSmoothness
public void setSmoothness(int smoothness)
设置光滑系数- 参数:
smoothness- 光滑系数
-
isShowGrid
public java.lang.Boolean isShowGrid()
地图格网是否显示- 返回:
- 是否显示
-
setShowGrid
public void setShowGrid(java.lang.Boolean showGrid)
设置是否显示地图格网- 参数:
showGrid- 是否显示
-
isShowMajorDivision
public java.lang.Boolean isShowMajorDivision()
是否显示主分割线- 返回:
- 是否显示
-
setShowMajorDivision
public void setShowMajorDivision(java.lang.Boolean showMajorDivision)
设置是否显示主分割线- 参数:
showMajorDivision- 是否显示
-
getLabelStyle
public TextStyle getLabelStyle()
获取标签文本风格- 返回:
- 标签文本风格
-
setLabelStyle
public void setLabelStyle(TextStyle labelStyle)
设置标签文本风格- 参数:
labelStyle- 标签文本风格
-
getGridShape
public MapGridShape getGridShape()
获取格网地图图层- 返回:
- 格网地图图层
-
setGridShape
public void setGridShape(MapGridShape gridShape)
社渚格网地图图层- 参数:
gridShape- 格网地图图层
-
-