|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.util.Rectangle
public class Rectangle
Represents the position and size of a rectangle in application units.
| Field Summary | |
|---|---|
double |
height
The height of the rectangle. |
double |
width
The width of the rectangle. |
double |
x
The left edge. |
double |
y
The top edge. |
| Constructor Summary | |
|---|---|
Rectangle()
Default constructor. |
|
Rectangle(double x,
double y,
double height,
double width)
Constructor. |
|
Rectangle(Point posn,
Point size)
Constructor. |
|
| Method Summary | |
|---|---|
Point |
getPosition()
Returns the position of the top left corner. |
Point |
getSize()
Returns the rectangle size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double x
public double y
public double width
public double height
| Constructor Detail |
|---|
public Rectangle()
public Rectangle(double x,
double y,
double height,
double width)
x - left edgey - top edgeheight - rectangle heightwidth - rectangle width
public Rectangle(Point posn,
Point size)
posn - position of top left cornersize - size of the rectangle| Method Detail |
|---|
public Point getPosition()
public Point getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||