|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
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,
java.awt.Stroke strock,
java.awt.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 |
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, 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, java.awt.Stroke strock, java.awt.Color color)
X1
- X center positionY1
- Y center positionr1
- radius in Xr2
- radious in Ystrock
- Strokecolor
- Colorpublic Ellipse(double X1, double Y1, double r1, double r2)
X1
- X centerY1
- Y centerr1
- Radius in Xr2
- Radious in YMethod Detail |
---|
public double getRadiusX()
public double getRadiusY()
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 |