|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.powerml.structures.basic.Rect
Represents a rectangle.
| Constructor Summary | |
Rect()
Creates a new Rect instance. |
|
Rect(int left,
int top,
int right,
int bottom)
Creates a new Rect instance. |
|
| Method Summary | |
int |
getBottom()
Returns the y coordinate of the bottom side. |
int |
getLeft()
Returns the x coordinate of the left side. |
int |
getRight()
Returns the x coordinate of the right side. |
int |
getTop()
Returns the y coordinate of the top side. |
java.lang.String |
toString()
Returns a string representation of the current instance. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Rect()
public Rect(int left,
int top,
int right,
int bottom)
left - x coordinate of left sidetop - y coordinate of top sideright - x coordinate of right sidebottom - y coordinate of bottom side| Method Detail |
public int getBottom()
public int getLeft()
public int getRight()
public int getTop()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||