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 IGeneralPathX
public void moveTo(Point point)
moveTo
in interface IGeneralPathX
public void lineTo(double x, double y)
lineTo
in interface IGeneralPathX
public void lineTo(Point point)
lineTo
in interface IGeneralPathX
public void addSegment(Point[] segment)
addSegment
in interface IGeneralPathX
public void quadTo(double x1, double y1, double x2, double y2)
quadTo
in interface IGeneralPathX
public void quadTo(Point point1, Point point2)
quadTo
in interface IGeneralPathX
public void curveTo(double x1, double y1, double x2, double y2, double x3, double y3)
curveTo
in interface IGeneralPathX
public void curveTo(Point point1, Point point2, Point point3)
curveTo
in interface IGeneralPathX
public void closePath()
closePath
in interface IGeneralPathX
public boolean isClosed()
isClosed
in interface IGeneralPathX
public void append(PathIterator pi, boolean connect)
append
in interface IGeneralPathX
public void append(GeneralPathX gp)
append
in interface IGeneralPathX
public void setWindingRule(int rule)
setWindingRule
in interface IGeneralPathX
public void reset()
reset
in interface IGeneralPathX
public void transform(AffineTransform at)
transform
in interface IGeneralPathX
public void reProject(ICoordTrans ct)
reProject
in interface IGeneralPathX
public void setNumTypes(int numTypes)
setNumTypes
in interface IGeneralPathX
public void setPointTypes(byte[] pointTypes)
setPointTypes
in interface IGeneralPathX
public void setPointCoords(double[] pointCoords)
setPointCoords
in interface IGeneralPathX
public void flip()
flip
in interface IGeneralPathX
public Point2D getCurrentPoint()
getCurrentPoint
in interface IGeneralPathX
public int getWindingRule()
getWindingRule
in interface IGeneralPathX
public Shape createTransformedShape(AffineTransform at)
createTransformedShape
in interface IGeneralPathX
public Rectangle getBounds()
getBounds
in interface Shape
getBounds
in interface IGeneralPathX
public Rectangle2D getBounds2D()
getBounds2D
in interface Shape
getBounds2D
in interface IGeneralPathX
public boolean contains(double x, double y)
contains
in interface Shape
contains
in interface IGeneralPathX
public boolean contains(Point2D p)
contains
in interface Shape
contains
in interface IGeneralPathX
public boolean contains(double x, double y, double w, double h)
contains
in interface Shape
contains
in interface IGeneralPathX
public boolean contains(Rectangle2D r)
contains
in interface Shape
contains
in interface IGeneralPathX
public boolean intersects(double x, double y, double w, double h)
intersects
in interface Shape
intersects
in interface IGeneralPathX
public boolean intersects(Rectangle2D r)
intersects
in interface Shape
intersects
in interface IGeneralPathX
public PathIterator getPathIterator(AffineTransform at)
getPathIterator
in interface Shape
getPathIterator
in interface IGeneralPathX
public PathIterator getPathIterator(AffineTransform at, double flatness)
getPathIterator
in interface Shape
getPathIterator
in interface IGeneralPathX
public Object clone()
clone
in interface IGeneralPathX
clone
in class Object
public int getNumTypes()
getNumTypes
in interface IGeneralPathX
public int setNumCoords(int numCoords)
setNumCoords
in interface IGeneralPathX
public int getNumCoords()
getNumCoords
in interface IGeneralPathX
public byte getTypeAt(int index)
getTypeAt
in interface IGeneralPathX
public byte[] getPointTypes()
getPointTypes
in interface IGeneralPathX
public double[] getPointCoords()
getPointCoords
in interface IGeneralPathX
public Point getPointAt(int index)
getPointAt
in interface IGeneralPathX
public double[] getCoordinatesAt(int index)
getCoordinatesAt
in interface IGeneralPathX
public double[] get3DCoordinatesAt(int index)
get3DCoordinatesAt
in interface IGeneralPathX
public boolean isCCW()
isCCW
in interface IGeneralPathX
public boolean isSimple()
isSimple
in interface IGeneralPathX