|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.javel.gisbeans.geom.SerializableGeneralPath
public class SerializableGeneralPath
The SerializableGeneralPath class is a serializable version of the
java.awt.geom.GeneralPath
class.
Constructor Summary | |
---|---|
SerializableGeneralPath()
|
|
SerializableGeneralPath(int rule)
constructs a new SerializableGeneralPath |
|
SerializableGeneralPath(int rule,
int initialCapacity)
constructs a new SerializableGeneralPath |
|
SerializableGeneralPath(Shape s)
constructs a new SerializableGeneralPath |
Method Summary | |
---|---|
void |
append(PathIterator pi,
boolean connect)
|
void |
append(Shape s,
boolean connect)
|
Object |
clone()
|
void |
closePath()
|
boolean |
contains(double param,
double param1)
|
boolean |
contains(double param,
double param1,
double param2,
double param3)
|
boolean |
contains(Point2D point2D)
|
boolean |
contains(Rectangle2D rectangle2D)
|
Shape |
createTranformedShape(AffineTransform at)
|
void |
curveTo(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
curves to |
Rectangle |
getBounds()
|
Rectangle2D |
getBounds2D()
|
Point2D |
getCurrentPoint()
|
PathIterator |
getPathIterator(AffineTransform affineTransform)
|
PathIterator |
getPathIterator(AffineTransform affineTransform,
double param)
|
int |
getWindingRule()
|
boolean |
intersects(double param,
double param1,
double param2,
double param3)
|
boolean |
intersects(Rectangle2D rectangle2D)
|
void |
lineTo(float x,
float y)
|
void |
moveTo(float x,
float y)
|
void |
quadTo(float x1,
float y1,
float x2,
float y2)
|
void |
reset()
|
void |
setWindingRule(int rule)
|
void |
transform(AffineTransform at)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializableGeneralPath()
GeneralPath.GeneralPath()
public SerializableGeneralPath(int rule)
rule
- the windingRulepublic SerializableGeneralPath(int rule, int initialCapacity)
rule
- the windingRuleinitialCapacity
- the initialCapacitypublic SerializableGeneralPath(Shape s)
s
- the shapeMethod Detail |
---|
public void append(PathIterator pi, boolean connect)
pi
- the pathIteratorconnect
- the connectpublic void append(Shape s, boolean connect)
s
- the shapeconnect
- whether to connectpublic Object clone()
clone
in class Object
Object.clone()
public void closePath()
Path2D.closePath()
public boolean contains(double param, double param1, double param2, double param3)
contains
in interface Shape
Shape.contains(double, double, double, double)
public boolean contains(double param, double param1)
contains
in interface Shape
Shape.contains(double, double)
public boolean contains(Rectangle2D rectangle2D)
contains
in interface Shape
Shape.contains(java.awt.geom.Rectangle2D)
public boolean contains(Point2D point2D)
contains
in interface Shape
Shape.contains(java.awt.geom.Point2D)
public Shape createTranformedShape(AffineTransform at)
at
- the effinetransform
public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
x1
- y1
- x2
- y2
- x3
- y3
- public Rectangle getBounds()
getBounds
in interface Shape
Shape.getBounds()
public Rectangle2D getBounds2D()
getBounds2D
in interface Shape
Shape.getBounds2D()
public Point2D getCurrentPoint()
public PathIterator getPathIterator(AffineTransform affineTransform)
getPathIterator
in interface Shape
Shape.getPathIterator(java.awt.geom.AffineTransform)
public PathIterator getPathIterator(AffineTransform affineTransform, double param)
getPathIterator
in interface Shape
Shape.getPathIterator(java.awt.geom.AffineTransform,
double)
public int getWindingRule()
public boolean intersects(double param, double param1, double param2, double param3)
intersects
in interface Shape
Shape.intersects(double, double, double, double)
public boolean intersects(Rectangle2D rectangle2D)
intersects
in interface Shape
Shape.intersects(java.awt.geom.Rectangle2D)
public void lineTo(float x, float y)
x
- y
- public void moveTo(float x, float y)
x
- y
- public void quadTo(float x1, float y1, float x2, float y2)
x1
- y1
- x2
- y2
- public void reset()
Path2D.reset()
public void setWindingRule(int rule)
rule
- public void transform(AffineTransform at)
at
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |