Class CircleShape

    • Constructor Detail

      • CircleShape

        public CircleShape()
        Construct a CircleShape profile with default radius(5).
      • CircleShape

        public CircleShape​(double radius)
        Construct a CircleShape profile with specified radius.
        Parameters:
        radius -
    • Method Detail

      • getRadius

        public double getRadius()
        Gets the radius of the circle.
      • setRadius

        public void setRadius​(double value)
        Sets the radius of the circle.
        Parameters:
        value - New value