Class Polygon

    • Constructor Detail

      • Polygon

        public Polygon()
      • Polygon

        public Polygon​(Polygon source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getLeftTop

        public Coord getLeftTop()
        Get 左上顶点坐标
        Returns:
        LeftTop 左上顶点坐标
      • setLeftTop

        public void setLeftTop​(Coord LeftTop)
        Set 左上顶点坐标
        Parameters:
        LeftTop - 左上顶点坐标
      • getRightTop

        public Coord getRightTop()
        Get 右上顶点坐标
        Returns:
        RightTop 右上顶点坐标
      • setRightTop

        public void setRightTop​(Coord RightTop)
        Set 右上顶点坐标
        Parameters:
        RightTop - 右上顶点坐标
      • getRightBottom

        public Coord getRightBottom()
        Get 右下顶点坐标
        Returns:
        RightBottom 右下顶点坐标
      • setRightBottom

        public void setRightBottom​(Coord RightBottom)
        Set 右下顶点坐标
        Parameters:
        RightBottom - 右下顶点坐标
      • getLeftBottom

        public Coord getLeftBottom()
        Get 左下顶点坐标
        Returns:
        LeftBottom 左下顶点坐标
      • setLeftBottom

        public void setLeftBottom​(Coord LeftBottom)
        Set 左下顶点坐标
        Parameters:
        LeftBottom - 左下顶点坐标