|
Oxygen XML Editor 11.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectro.sync.exml.view.graphics.Ellipse
public class Ellipse
The class describes an ellipse that is defined by a bounding rectangle.
| Field Summary | |
|---|---|
int |
height
The overall height of this ellipse. |
int |
width
The overall width of this ellipse. |
int |
x
The x coordinate of the upper left corner of this ellipse. |
int |
y
The y coordinate of the upper left corner of thise llipse. |
| Constructor Summary | |
|---|---|
Ellipse(int x,
int y,
int width,
int height)
Constructor. |
|
| Method Summary | |
|---|---|
Rectangle |
getBounds()
|
String |
toString()
|
Shape |
translate(int tx,
int ty)
Translate the shape into another one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int x
public final int y
public final int width
public final int height
| Constructor Detail |
|---|
public Ellipse(int x,
int y,
int width,
int height)
x - The bounding rectangle x pos.y - The bounding rectangle y pos.width - The bounding rectangle width.height - The bounding rectangle height.| Method Detail |
|---|
public Rectangle getBounds()
getBounds in interface ShapeShape.getBounds()
public Shape translate(int tx,
int ty)
Shape
translate in interface Shapetx - the distance by which coordinates are translated in the
X axis directionty - the distance by which coordinates are translated in the
Y axis direction
Shape.translate(int, int)public String toString()
toString in class ObjectObject.toString()
|
Oxygen XML Editor 11.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||