Documentation of 'jhplot.shapes.Circle' Java class.
Circle
jhplot.shapes

Class Circle

  • All Implemented Interfaces:
    java.io.Serializable


    public class Circle
    extends HShape
    Build a circle using HPlot canvas. Use USER coordinate system.
    See Also:
    Serialized Form
    • Constructor Detail

      • Circle

        public Circle(double X1,
                      double Y1,
                      double radius,
                      java.awt.Stroke strock,
                      java.awt.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 java.lang.String toString()
        Show it as a string
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of this HShape object
      • doc

        public void doc()
        Show online documentation.

DMelt 3.0 © DataMelt by jWork.ORG