|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.shapes.HShape
jhplot.shapes.Circle
public class Circle
Build a Circle using the USER coordinate system
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,
java.awt.Stroke strock,
java.awt.Color color)
Build a circle |
Method Summary | |
---|---|
void |
doc()
Show online documentation. |
double |
getRadius()
Get the radius |
java.lang.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 |
---|
public Circle(double X1, double Y1, double radius, java.awt.Stroke strock, java.awt.Color color)
X1
- X position of the centerY1
- Y position of the centerradius
- radiusstrock
- Stroke to draw itcolor
- Colorpublic Circle(double X1, double Y1, double radius)
X1
- X center positionY1
- Y center positionradius
- RadiusMethod Detail |
---|
public double getRadius()
public java.lang.String toString()
toString
in class java.lang.Object
public void doc()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |