|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.shapes.HShape
jhplot.shapes.Ellipse
public class Ellipse
Draw an ellipse in the USER coordinate system
| Field Summary |
|---|
| Fields inherited from class jhplot.shapes.HShape |
|---|
ARROW, CIRCLE, ELLIPSE, IMAGE, LINE, POLYGON, RECTAN, TEXT |
| Constructor Summary | |
|---|---|
Ellipse(double X1,
double Y1,
double r1,
double r2)
Create an ellipse using the default stroke and the color |
|
Ellipse(double X1,
double Y1,
double r1,
double r2,
Stroke strock,
Color color)
Create an ellipse |
|
| Method Summary | |
|---|---|
void |
doc()
Show online documentation. |
double |
getRadiusX()
Get the radius in X |
double |
getRadiusY()
Get the radius in Y |
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 Ellipse(double X1,
double Y1,
double r1,
double r2,
Stroke strock,
Color color)
X1 - X center positionY1 - Y center positionr1 - radius in Xr2 - radious in Ystrock - Strokecolor - Color
public Ellipse(double X1,
double Y1,
double r1,
double r2)
X1 - X centerY1 - Y centerr1 - Radius in Xr2 - Radious in Y| Method Detail |
|---|
public double getRadiusX()
public double getRadiusY()
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 | ||||||||