| Klasse java.awt.Polygon | 1.0 |
java.lang.Object | +--java.awt.Polygon
| Datenelemente | |
|---|---|
| public int | npoints |
| public int[] | xpoints |
| public int[] | ypoints |
| protected Rectangle | bounds |
| Konstruktoren | |
|---|---|
| public | Polygon() |
| public | Polygon(int[] xpoints, int[] ypoints, int npoints) |
| Methoden | |
|---|---|
| public void | addPoint(int x, int y) |
| public boolean | contains(Point p) ![]() |
| public boolean | contains(Point2D p) ![]() |
| public boolean | contains(Rectangle2D r) ![]() |
| public boolean | contains(double x, double y) ![]() |
| public boolean | contains(int x, int y) ![]() |
| public boolean | contains(double x, double y, double w, double h) ![]() |
| public Rectangle | getBoundingBox()
Verworfen in Version 1.1. |
| public Rectangle | getBounds() ![]() |
| public Rectangle2D | getBounds2D() ![]() |
| public PathIterator | getPathIterator(AffineTransform at) ![]() |
| public PathIterator | getPathIterator(AffineTransform at, double flatness) ![]() |
| public boolean | inside(int x, int y)
Verworfen in Version 1.1. |
| public boolean | intersects(Rectangle2D r) ![]() |
| public boolean | intersects(double x, double y, double w, double h) ![]() |
| public void | invalidate() ![]() |
| public void | reset() ![]() |
| public void | translate(int deltaX, int deltaY) |
![[1.1]](../../images/marg11.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.1]](../../images/marg11.gif)
![[1.2]](../../images/marg12.gif)
![[1.1]](../../images/marg11.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.4]](../../images/marg14.gif)
![[1.4]](../../images/marg14.gif)