|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Shape Interface.
Method Summary | |
boolean |
contains(int x,
int y)
Returns true if the specified coordinates lie in the shape. |
Rectangle |
getBounds()
Returns a rectangle that completely encloses the shape. |
PathIterator |
getPathIterator()
Returns path iterator that traverses the geometry of the Shape. |
Method Detail |
public Rectangle getBounds()
public PathIterator getPathIterator()
public boolean contains(int x, int y)
x
- the x coordinatey
- the y coordinate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |