public class Ellipse extends HShape
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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
|
contains, getColor, getFill, getPosition, getPositionCoordinate, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setPositionCoordinate, setStroke, setTransparency, setWhoAm, updateSettingspublic 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 - Colorpublic Ellipse(double X1,
double Y1,
double r1,
double r2)
X1 - X centerY1 - Y centerr1 - Radius in Xr2 - Radious in Ypublic double getRadiusX()
public double getRadiusY()
public String toString()
public void doc()
jHepWork 3.8 ©