public class Path extends java.lang.Object implements PathWalker
Modifier and Type | Method and Description |
---|---|
void |
closePath() |
Point |
currentPoint() |
void |
curveTo(float cx1,
float cy1,
float cx2,
float cy2,
float ex,
float ey) |
void |
curveTo(Point c1,
Point c2,
Point e) |
void |
curveToV(float cx,
float cy,
float ex,
float ey) |
void |
curveToV(Point c,
Point e) |
void |
curveToY(float cx,
float cy,
float ex,
float ey) |
void |
curveToY(Point c,
Point e) |
void |
destroy() |
protected void |
finalize() |
Rect |
getBounds(StrokeState stroke,
Matrix ctm) |
void |
lineTo(float x,
float y) |
void |
lineTo(Point xy) |
void |
moveTo(float x,
float y) |
void |
moveTo(Point xy) |
void |
rect(int x1,
int y1,
int x2,
int y2) |
void |
transform(Matrix mat) |
void |
walk(PathWalker walker) |
public Path()
public Path(Path old)
protected void finalize()
finalize
in class java.lang.Object
public void destroy()
public Point currentPoint()
public void moveTo(float x, float y)
moveTo
in interface PathWalker
public void lineTo(float x, float y)
lineTo
in interface PathWalker
public void curveTo(float cx1, float cy1, float cx2, float cy2, float ex, float ey)
curveTo
in interface PathWalker
public void curveToV(float cx, float cy, float ex, float ey)
public void curveToY(float cx, float cy, float ex, float ey)
public void rect(int x1, int y1, int x2, int y2)
public void closePath()
closePath
in interface PathWalker
public void moveTo(Point xy)
public void lineTo(Point xy)
public void transform(Matrix mat)
public Rect getBounds(StrokeState stroke, Matrix ctm)
public void walk(PathWalker walker)