|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Points
Interface for a sequence of points.
| Method Summary | |
|---|---|
Rectangle2D |
getBounds(Rectangle2D dst)
Returns the bounds of all the points taken as a whole. |
Point2D |
getPoint(int i,
Point2D dst)
Returns a point representation of the coordinates at the given index. |
int |
getPointCount()
Returns the number of points in the sequence. |
double |
getX(int i)
Returns the x component of the point at the given index. |
double |
getY(int i)
Returns the y component of the point at the given index. |
| Method Detail |
|---|
int getPointCount()
double getX(int i)
i - index of desired point
double getY(int i)
i - index of desired point
Point2D getPoint(int i,
Point2D dst)
i - index of desired pointdst - output parameter into which the point's details will be
populated, if null a new one will be created.
Rectangle2D getBounds(Rectangle2D dst)
dst - output parameter to store bounds into, if null a new rectangle
will be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||