| java.lang.Object java.awt.Polygon
Constructor Summary | |
public | Polygon() | public | Polygon(int[] xpoints, int[] ypoints, int npoints) |
Method Summary | |
public void | addPoint(int px, int py) | public boolean | contains(int x, int y) | public boolean | contains(double x, double y) | public boolean | contains(double x, double y, double width, double height) | public boolean | contains(Rectangle2D rect) | public boolean | contains(Point point) | public boolean | contains(Point2D point) | public Rectangle | getBoundingBox() | public Rectangle | getBounds() | public Rectangle2D | getBounds2D() | public PathIterator | getPathIterator(AffineTransform t) | public PathIterator | getPathIterator(AffineTransform t, double flatness) | public boolean | inside(int x, int y) | public boolean | intersects(double x, double y, double width, double height) | public boolean | intersects(Rectangle2D rect) | public void | invalidate() | public void | reset() | public void | translate(int mx, int my) |
npoints | public int npoints(Code) | | |
xpoints | public int[] xpoints(Code) | | |
ypoints | public int[] ypoints(Code) | | |
Polygon | public Polygon(int[] xpoints, int[] ypoints, int npoints)(Code) | | |
addPoint | public void addPoint(int px, int py)(Code) | | |
contains | public boolean contains(int x, int y)(Code) | | |
contains | public boolean contains(double x, double y)(Code) | | |
contains | public boolean contains(double x, double y, double width, double height)(Code) | | |
inside | public boolean inside(int x, int y)(Code) | | |
intersects | public boolean intersects(double x, double y, double width, double height)(Code) | | |
invalidate | public void invalidate()(Code) | | |
reset | public void reset()(Code) | | |
translate | public void translate(int mx, int my)(Code) | | |
|
|