Package armyc2.c5isr.graphics2d
Class Polygon
java.lang.Object
armyc2.c5isr.graphics2d.Polygon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPoint(int px, int py) booleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleancontains(int x, int y) booleanbooleanbooleangetPathIterator(AffineTransform at, double flatness) booleanintersects(double x, double y, double w, double h) booleanvoidvoidreset()
-
Field Details
-
npoints
-
xpoints
-
ypoints
-
bounds
-
-
Constructor Details
-
Polygon
public Polygon() -
Polygon
- Parameters:
xpoints-ypoints-npoints-
-
-
Method Details
-
reset
-
invalidate
-
addPoint
-
getBounds
-
getBoundingBox
-
contains
-
contains
-
getBounds2D
-
contains
-
contains
-
intersects
-
intersects
-
contains
-
contains
-
getPathIterator
-
getPathIterator
-