public
GeneralPath
()
Constructs a new empty single precision GeneralPath object
with a default winding rule of Path2D.WIND_NON_ZERO.
pack-private
GeneralPath
(int windingRule, byte[] pointTypes, int numTypes, float[] pointCoords, int numCoords)
publicfinal void
append
(PathIterator pi, boolean connect)
[Inherited From Path2D.Float]
[Specified in Path2D]
Appends the geometry of the specified
PathIterator object
to the path, possibly connecting the new geometry to the existing
path segments with a line segment.
pack-private double
cloneCoordsDouble
(AffineTransform at)
[Inherited From Path2D.Float]
[Specified in Path2D]
pack-private float
cloneCoordsFloat
(AffineTransform at)
[Inherited From Path2D.Float]
[Specified in Path2D]
publicstatic boolean
contains
(PathIterator pi, double x, double y)
[Inherited From Path2D]
Tests if the specified coordinates are inside the closed
boundary of the specified PathIterator.
publicstatic boolean
contains
(PathIterator pi, double x, double y, double w, double h)
[Inherited From Path2D]
Tests if the specified rectangular area is entirely inside the
closed boundary of the specified PathIterator.
publicstatic boolean
contains
(PathIterator pi, Rectangle2D r)
[Inherited From Path2D]
Tests if the specified Rectangle2D is entirely inside the
closed boundary of the specified PathIterator.
publicfinalsynchronized void
curveTo
(double x1, double y1, double x2, double y2, double x3, double y3)
[Inherited From Path2D.Float]
[Specified in Path2D]
publicfinalsynchronized void
curveTo
(float x1, float y1, float x2, float y2, float x3, float y3)
[Inherited From Path2D.Float]
publicstatic boolean
intersects
(PathIterator pi, double x, double y, double w, double h)
[Inherited From Path2D]
Tests if the interior of the specified PathIterator
intersects the interior of a specified set of rectangular
coordinates.
publicstatic boolean
intersects
(PathIterator pi, Rectangle2D r)
[Inherited From Path2D]
Tests if the interior of the specified PathIterator
intersects the interior of a specified Rectangle2D.
publicfinalsynchronized void
lineTo
(double x, double y)
[Inherited From Path2D.Float]
[Specified in Path2D]
publicfinalsynchronized void
moveTo
(double x, double y)
[Inherited From Path2D.Float]
[Specified in Path2D]
pack-private void
needRoom
(boolean needMove, int newCoords)
[Inherited From Path2D.Float]
[Specified in Path2D]
pack-private int
pointCrossings
(double px, double py)
[Inherited From Path2D.Float]
[Specified in Path2D]
publicfinalsynchronized void
quadTo
(double x1, double y1, double x2, double y2)
[Inherited From Path2D.Float]
[Specified in Path2D]
publicfinalsynchronized void
quadTo
(float x1, float y1, float x2, float y2)
[Inherited From Path2D.Float]
pack-privatefinal void
readObject
(ObjectInputStream s, boolean storedbl)
throws
ClassNotFoundException
IOException
[Inherited From Path2D]
pack-private int
rectCrossings
(double rxmin, double rymin, double rxmax, double rymax)
[Inherited From Path2D.Float]
[Specified in Path2D]
publicfinal void
transform
(AffineTransform at)
[Inherited From Path2D.Float]
[Specified in Path2D]
Transforms the geometry of this path using the specified
AffineTransform.
pack-privatefinal void
writeObject
(ObjectOutputStream s, boolean isdbl)
throws
IOException
[Inherited From Path2D]
Float class defines a geometric path with
coordinates stored in single precision floating point.
Double class defines a geometric path with
coordinates stored in double precision floating point.