Circle
jhplot.shapes

Class Circle

    • Constructor Detail

      • Circle

        public Circle(double X1,      double Y1,      double radius,      Stroke strock,      Color color)
        Build a circle
        Parameters:
        X1 - X position of the center
        Y1 - Y position of the center
        radius - radius
        strock - Stroke to draw it
        color - Color
      • Circle

        public Circle(double X1,      double Y1,      double radius)
        Build a circle using the default stroke and color
        Parameters:
        X1 - X center position
        Y1 - Y center position
        radius - Radius
    • Method Detail

      • getRadius

        public double getRadius()
        Get the radius
        Returns:
        Radius
      • toString

        public String toString()
        Show it as a string
        Overrides:
        toString in class Object
        Returns:
        a string representation of this HShape object
      • doc

        public void doc()
        Show online documentation.

SCaVis 2.1 © jWork.ORG