public class PathMeasure extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
POSITION_MATRIX_FLAG |
static int |
TANGENT_MATRIX_FLAG |
| Constructor and Description |
|---|
PathMeasure() |
PathMeasure(Path path,
boolean forceClosed) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
float |
getLength() |
boolean |
getMatrix(float distance,
Matrix matrix,
int flags) |
boolean |
getPosTan(float distance,
float[] pos,
float[] tan) |
boolean |
getSegment(float startD,
float stopD,
Path dst,
boolean startWithMoveTo) |
boolean |
isClosed() |
boolean |
nextContour() |
void |
setPath(Path path,
boolean forceClosed) |
public static final int POSITION_MATRIX_FLAG
public static final int TANGENT_MATRIX_FLAG
public PathMeasure()
public PathMeasure(Path path, boolean forceClosed)
public void setPath(Path path, boolean forceClosed)
public float getLength()
public boolean getPosTan(float distance,
float[] pos,
float[] tan)
public boolean getMatrix(float distance,
Matrix matrix,
int flags)
public boolean getSegment(float startD,
float stopD,
Path dst,
boolean startWithMoveTo)
public boolean isClosed()
public boolean nextContour()
Copyright © 2008-2013. All Rights Reserved.