public interface PathConsumer2D| Modifier and Type | Method and Description |
|---|---|
void |
closePath()
|
void |
curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
|
long |
getNativeConsumer()
If a given PathConsumer performs all or most of its work natively then it can return a (non-zero) pointer to a native function vector that defines C functions for all of the above methods.
|
void |
lineTo(float x, float y)
|
void |
moveTo(float x, float y)
|
void |
pathDone()
Called after the last segment of the last subpath when the iteration of the path segments is completely done.
|
void |
quadTo(float x1, float y1, float x2, float y2)
|
void moveTo(float x,
float y)
Path2D.Float.moveTo
void lineTo(float x,
float y)
Path2D.Float.lineTo
void quadTo(float x1,
float y1,
float x2,
float y2)
Path2D.Float.quadTo
void curveTo(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
Path2D.Float.curveTo
void closePath()
Path2D.Float.closePath
void pathDone()
PathIterator returns
true from its
done method.
long getNativeConsumer()