public class GeneralPathX extends Object implements Shape, Cloneable, Serializable, IGeneralPathX
| Modifier and Type | Field and Description |
|---|---|
protected static int |
INIT_SIZE
Deprecated.
|
curvesize, SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO| Modifier | Constructor and Description |
|---|---|
|
GeneralPathX()
Deprecated.
to create a GeneralPathX use GeometryManager.createGeneralPath
|
protected |
GeneralPathX(boolean nouse)
Deprecated.
|
|
GeneralPathX(int rule)
Deprecated.
to create a GeneralPathX use GeometryManager.createGeneralPath
|
|
GeneralPathX(int rule,
int initialCapacity)
Deprecated.
to create a GeneralPathX use GeometryManager.createGeneralPath
|
|
GeneralPathX(PathIterator pathIterator)
Deprecated.
to create a GeneralPathX use GeometryManager.createGeneralPath
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSegment(Point[] segment)
Deprecated.
|
void |
append(GeneralPathX gp)
Deprecated.
|
void |
append(PathIterator pi,
boolean connect)
Deprecated.
|
Object |
clone()
Deprecated.
|
void |
closePath()
Deprecated.
|
boolean |
contains(double x,
double y)
Deprecated.
|
boolean |
contains(double x,
double y,
double w,
double h)
Deprecated.
|
boolean |
contains(Point2D p)
Deprecated.
|
boolean |
contains(Rectangle2D r)
Deprecated.
|
Shape |
createTransformedShape(AffineTransform at)
Deprecated.
|
void |
curveTo(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Deprecated.
|
void |
curveTo(Point point1,
Point point2,
Point point3)
Deprecated.
|
void |
flip()
Deprecated.
|
double[] |
get3DCoordinatesAt(int index)
Deprecated.
|
Rectangle |
getBounds()
Deprecated.
|
Rectangle2D |
getBounds2D()
Deprecated.
|
double[] |
getCoordinatesAt(int index)
Deprecated.
|
Point2D |
getCurrentPoint()
Deprecated.
|
int |
getNumCoords()
Deprecated.
|
int |
getNumTypes()
Deprecated.
|
PathIterator |
getPathIterator(AffineTransform at)
Deprecated.
|
PathIterator |
getPathIterator(AffineTransform at,
double flatness)
Deprecated.
|
Point |
getPointAt(int index)
Deprecated.
|
double[] |
getPointCoords()
Deprecated.
|
byte[] |
getPointTypes()
Deprecated.
|
byte |
getTypeAt(int index)
Deprecated.
|
int |
getWindingRule()
Deprecated.
|
boolean |
intersects(double x,
double y,
double w,
double h)
Deprecated.
|
boolean |
intersects(Rectangle2D r)
Deprecated.
|
boolean |
isCCW()
Deprecated.
|
boolean |
isClosed()
Deprecated.
|
boolean |
isSimple()
Deprecated.
|
void |
lineTo(double x,
double y)
Deprecated.
|
void |
lineTo(Point point)
Deprecated.
|
void |
moveTo(double x,
double y)
Deprecated.
|
void |
moveTo(Point point)
Deprecated.
|
void |
quadTo(double x1,
double y1,
double x2,
double y2)
Deprecated.
|
void |
quadTo(Point point1,
Point point2)
Deprecated.
|
void |
reProject(ICoordTrans ct)
Deprecated.
|
void |
reset()
Deprecated.
|
int |
setNumCoords(int numCoords)
Deprecated.
|
void |
setNumTypes(int numTypes)
Deprecated.
|
void |
setPointCoords(double[] pointCoords)
Deprecated.
|
void |
setPointTypes(byte[] pointTypes)
Deprecated.
|
void |
setWindingRule(int rule)
Deprecated.
|
void |
transform(AffineTransform at)
Deprecated.
|
protected static final int INIT_SIZE
protected GeneralPathX(boolean nouse)
public GeneralPathX()
public GeneralPathX(int rule)
public GeneralPathX(int rule,
int initialCapacity)
public GeneralPathX(PathIterator pathIterator)
public void moveTo(double x,
double y)
moveTo in interface IGeneralPathXpublic void moveTo(Point point)
moveTo in interface IGeneralPathXpublic void lineTo(double x,
double y)
lineTo in interface IGeneralPathXpublic void lineTo(Point point)
lineTo in interface IGeneralPathXpublic void addSegment(Point[] segment)
addSegment in interface IGeneralPathXpublic void quadTo(double x1,
double y1,
double x2,
double y2)
quadTo in interface IGeneralPathXpublic void quadTo(Point point1, Point point2)
quadTo in interface IGeneralPathXpublic void curveTo(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
curveTo in interface IGeneralPathXpublic void curveTo(Point point1, Point point2, Point point3)
curveTo in interface IGeneralPathXpublic void closePath()
closePath in interface IGeneralPathXpublic boolean isClosed()
isClosed in interface IGeneralPathXpublic void append(PathIterator pi, boolean connect)
append in interface IGeneralPathXpublic void append(GeneralPathX gp)
append in interface IGeneralPathXpublic void setWindingRule(int rule)
setWindingRule in interface IGeneralPathXpublic void reset()
reset in interface IGeneralPathXpublic void transform(AffineTransform at)
transform in interface IGeneralPathXpublic void reProject(ICoordTrans ct)
reProject in interface IGeneralPathXpublic void setNumTypes(int numTypes)
setNumTypes in interface IGeneralPathXpublic void setPointTypes(byte[] pointTypes)
setPointTypes in interface IGeneralPathXpublic void setPointCoords(double[] pointCoords)
setPointCoords in interface IGeneralPathXpublic void flip()
flip in interface IGeneralPathXpublic Point2D getCurrentPoint()
getCurrentPoint in interface IGeneralPathXpublic int getWindingRule()
getWindingRule in interface IGeneralPathXpublic Shape createTransformedShape(AffineTransform at)
createTransformedShape in interface IGeneralPathXpublic Rectangle getBounds()
getBounds in interface ShapegetBounds in interface IGeneralPathXpublic Rectangle2D getBounds2D()
getBounds2D in interface ShapegetBounds2D in interface IGeneralPathXpublic boolean contains(double x,
double y)
contains in interface Shapecontains in interface IGeneralPathXpublic boolean contains(Point2D p)
contains in interface Shapecontains in interface IGeneralPathXpublic boolean contains(double x,
double y,
double w,
double h)
contains in interface Shapecontains in interface IGeneralPathXpublic boolean contains(Rectangle2D r)
contains in interface Shapecontains in interface IGeneralPathXpublic boolean intersects(double x,
double y,
double w,
double h)
intersects in interface Shapeintersects in interface IGeneralPathXpublic boolean intersects(Rectangle2D r)
intersects in interface Shapeintersects in interface IGeneralPathXpublic PathIterator getPathIterator(AffineTransform at)
getPathIterator in interface ShapegetPathIterator in interface IGeneralPathXpublic PathIterator getPathIterator(AffineTransform at, double flatness)
getPathIterator in interface ShapegetPathIterator in interface IGeneralPathXpublic Object clone()
clone in interface IGeneralPathXclone in class Objectpublic int getNumTypes()
getNumTypes in interface IGeneralPathXpublic int setNumCoords(int numCoords)
setNumCoords in interface IGeneralPathXpublic int getNumCoords()
getNumCoords in interface IGeneralPathXpublic byte getTypeAt(int index)
getTypeAt in interface IGeneralPathXpublic byte[] getPointTypes()
getPointTypes in interface IGeneralPathXpublic double[] getPointCoords()
getPointCoords in interface IGeneralPathXpublic Point getPointAt(int index)
getPointAt in interface IGeneralPathXpublic double[] getCoordinatesAt(int index)
getCoordinatesAt in interface IGeneralPathXpublic double[] get3DCoordinatesAt(int index)
get3DCoordinatesAt in interface IGeneralPathXpublic boolean isCCW()
isCCW in interface IGeneralPathXpublic boolean isSimple()
isSimple in interface IGeneralPathX