jhplot.shapes
Class Circle

java.lang.Object
  extended by jhplot.shapes.HShape
      extended by jhplot.shapes.Circle
All Implemented Interfaces:
Serializable

public class Circle
extends HShape

Build a Circle using the USER coordinate system

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jhplot.shapes.HShape
ARROW, CIRCLE, ELLIPSE, IMAGE, LINE, POLYGON, RECTAN, TEXT
 
Constructor Summary
Circle(double X1, double Y1, double radius)
          Build a circle using the default stroke and color
Circle(double X1, double Y1, double radius, Stroke strock, Color color)
          Build a circle
 
Method Summary
 void doc()
          Show online documentation.
 double getRadius()
          Get the radius
 String toString()
          Show it as a string
 
Methods inherited from class jhplot.shapes.HShape
contains, getColor, getFill, getPosition, getPositionCoordinate, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setPositionCoordinate, setStroke, setTransparency, setWhoAm, updateSettings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.



jHepWork 3.1 ©