|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| 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,
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 |
|---|
public Circle(double X1,
double Y1,
double radius,
Stroke strock,
Color color)
X1 - X position of the centerY1 - Y position of the centerradius - radiusstrock - Stroke to draw itcolor - Color
public Circle(double X1,
double Y1,
double radius)
X1 - X center positionY1 - Y center positionradius - Radius| Method Detail |
|---|
public double getRadius()
public String toString()
toString in class Objectpublic void doc()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||