com.supermap.data.mapGrid

Class MapGridParam

  • java.lang.Object
    • com.supermap.data.mapGrid.MapGridParam


  • public class MapGridParam
    extends java.lang.Object
    • Constructor Detail

      • MapGridParam

        public MapGridParam()
    • Method Detail

      • getBounds

        public Rectangle2D getBounds()
        Get map grid boundaries
        Returns:
        Map grid boundaries
      • setBounds

        public void setBounds(Rectangle2D bounds)
        Set map grid boundaries
        Parameters:
        bounds - Map grid boundaries
      • getLeft

        public double getLeft()
        Get the min X
        Returns:
        minimum X
      • getTop

        public double getTop()
        Get the max Y
        Returns:
        max Y
      • getRight

        public double getRight()
        Get the max X
        Returns:
        max X
      • getBottom

        public double getBottom()
        Get the min Y
        Returns:
        min Y
      • getCellWidth

        public java.lang.Double getCellWidth()
        Gets the cell width
        Returns:
        cell width
      • setCellWidth

        public void setCellWidth(java.lang.Double cellWidth)
        Sets the cell width
        Parameters:
        cellWidth - cell width
      • getCellLength

        public java.lang.Double getCellLength()
        Gets the cell Length
        Returns:
        cell Length
      • getCellHeight

        public java.lang.Double getCellHeight()
        Gets the cell Height
        Returns:
        cell Height
      • setCellHeight

        public void setCellHeight(java.lang.Double cellHeight)
        Sets the cell Height
        Parameters:
        cellHeight - cell Height
      • getRowLineCount

        public int getRowLineCount()
        Gets the number of grid rows
        Returns:
        the number of grid rows
      • setRowLineCount

        public void setRowLineCount(int rowLineCount)
        Sets the number of grid rows
        Parameters:
        rowLineCount - the number of grid rows
      • getColumnLineCount

        public int getColumnLineCount()
        Gets the number of grid columns
        Returns:
        the number of grid columns
      • setColumnLineCount

        public void setColumnLineCount(int columnLineCount)
        Sets the number of grid columns
        Parameters:
        columnLineCount - the number of grid columns
      • getGridType

        public MapGridType getGridType()
        Get Grid Type
        Returns:
        Grid Type
      • setGridType

        public void setGridType(MapGridType gridType)
        Set Grid Type
        Parameters:
        gridType - Grid Type
      • getSmoothness

        public int getSmoothness()
        Get smooth coefficient
        Returns:
        smooth coefficient
      • setSmoothness

        public void setSmoothness(int smoothness)
        Set smooth coefficient
        Parameters:
        smoothness - smooth coefficient
      • isShowGrid

        public java.lang.Boolean isShowGrid()
      • setShowGrid

        public void setShowGrid(java.lang.Boolean showGrid)
      • isShowMajorDivision

        public java.lang.Boolean isShowMajorDivision()
        IS Displays the main dividing line?
        Returns:
      • setShowMajorDivision

        public void setShowMajorDivision(java.lang.Boolean showMajorDivision)
        Set Displays the main dividing line
        Parameters:
        showMajorDivision -
      • getLabelStyle

        public TextStyle getLabelStyle()
        Get Label Style
        Returns:
        Label Style
      • setLabelStyle

        public void setLabelStyle(TextStyle labelStyle)
        Set Label Style
        Parameters:
        labelStyle - Label Style
      • setGridShape

        public void setGridShape(MapGridShape gridShape)