static final class TransformingPathConsumer2D.TranslateFilter extends TransformingPathConsumer2D
TransformingPathConsumer2D.DeltaScaleFilter, TransformingPathConsumer2D.DeltaTransformFilter, TransformingPathConsumer2D.FilterSet, TransformingPathConsumer2D.ScaleTranslateFilter, TransformingPathConsumer2D.TransformFilter, TransformingPathConsumer2D.TranslateFilter
Modifier and Type | Field and Description |
---|---|
private float |
tx |
private float |
ty |
out
Constructor and Description |
---|
TranslateFilter(PathConsumer2D out,
float tx,
float ty) |
Modifier and Type | Method and Description |
---|---|
void |
closePath() |
void |
curveTo(float x1,
float y1,
float x2,
float y2,
float x3,
float y3) |
long |
getNativeConsumer() |
void |
lineTo(float x1,
float y1) |
void |
moveTo(float x0,
float y0) |
void |
pathDone() |
void |
quadTo(float x1,
float y1,
float x2,
float y2) |
void |
set(float tx,
float ty) |
setConsumer
TranslateFilter(PathConsumer2D out, float tx, float ty)
public void set(float tx, float ty)
public void moveTo(float x0, float y0)
public void lineTo(float x1, float y1)
public void quadTo(float x1, float y1, float x2, float y2)
public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
public void closePath()
public void pathDone()
public long getNativeConsumer()