Class RegularPolygon

    • Constructor Detail

      • RegularPolygon

        public RegularPolygon()
      • RegularPolygon

        public RegularPolygon​(double cx,
                              double cy,
                              double radius,
                              int sides)
    • Method Detail

      • getRadius

        public double getRadius()
        Gets the value of the property radius.
        Property description:
      • setRadius

        public void setRadius​(double radius)
        Sets the value of the property radius.
        Property description:
      • getSides

        public int getSides()
        Gets the value of the property sides.
        Property description:
      • setSides

        public void setSides​(int sides)
        Sets the value of the property sides.
        Property description: