| 
 | Oxygen XML Editor 12.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 | heightThe overall height of this ellipse. | 
|  int | widthThe overall width of this ellipse. | 
|  int | xThe x coordinate of the upper left corner of this ellipse. | 
|  int | yThe 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() | 
|  java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()| 
 | Oxygen XML Editor 12.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||