Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
This interface will be revised in the upcoming Java2D project. It is meant to provide a common interface for various existing geometric AWT classes and methods which operate on them. Since it may be superseded or expanded in the future, developers should avoid implementing this interface in their own classes until it is completed in a later release.
Method Summary | |
boolean | contains(double x,
double y)
|
boolean | contains(Point2D p)
|
boolean | contains(double x,
double y,
double w,
double h)
|
boolean | contains(Rectangle2D r)
|
Rectangle | getBounds()
|
Rectangle2D | getBounds2D()
|
PathIterator | getPathIterator(AffineTransform at)
|
PathIterator | getPathIterator(AffineTransform at,
double flatness)
|
boolean | intersects(double x,
double y,
double w,
double h)
|
boolean | intersects(Rectangle2D r)
|
Method Detail |
public Rectangle getBounds()
public Rectangle2D getBounds2D()
public boolean contains(double x, double y)
public boolean contains(Point2D p)
public boolean intersects(double x, double y, double w, double h)
public boolean intersects(Rectangle2D r)
public boolean contains(double x, double y, double w, double h)
public boolean contains(Rectangle2D r)
public PathIterator getPathIterator(AffineTransform at)
at
- an optional AffineTransform to be applied to the
coordinates as they are returned in the iteration, or null
if the untransformed coordinates are desired.
public PathIterator getPathIterator(AffineTransform at, double flatness)
flatness
parameter which specifies ?REMIND?.
An optional affine transform can be specified in which case
the coordinates returned in the iteration will be transformed
accordingly.
at
- an optional AffineTransform to be applied to the
coordinates as they are returned in the iteration, or null
if the untransformed coordinates are desired.
flatness
- the maximum amount that the control points
for a given curve can vary from colinear before a subdivided
curve is replaced by a straight line connecting the endpoints.
Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |