类 RectangleShape

    • 构造器详细资料

      • RectangleShape

        public RectangleShape()
        Constructor
      • RectangleShape

        public RectangleShape​(double x,
                              double y,
                              double width,
                              double height)
        Constructor
        参数:
        x - X
        y - Y
        width - Width
        height - Height
    • 方法详细资料

      • isRound

        public boolean isRound()
        Get is round or not
        返回:
        Boolean
      • getRoundX

        public double getRoundX()
        Get round x
        返回:
        Round x
      • setRoundX

        public void setRoundX​(double value)
        Set round y
        参数:
        value - Round y
      • getRoundY

        public double getRoundY()
        Get round y
        返回:
        Round y
      • setRoundY

        public void setRoundY​(double value)
        Set round y
        参数:
        value - Round y
      • getAngle

        public double getAngle()
        Get angle
        返回:
        Angle
      • setAngle

        public void setAngle​(double value)
        Set angle
        参数:
        value - Angle