Package armyc2.c5isr.graphics2d
Class Polygon
java.lang.Object
armyc2.c5isr.graphics2d.Polygon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPoint
(int px, int py) boolean
contains
(double x, double y) boolean
contains
(double x, double y, double w, double h) boolean
contains
(int x, int y) boolean
boolean
boolean
getPathIterator
(AffineTransform at, double flatness) boolean
intersects
(double x, double y, double w, double h) boolean
void
void
reset()
-
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
-