@Implements(value=android.graphics.Path.class) public class ShadowPath extends java.lang.Object
The shadow only supports straight-line paths.
Modifier and Type | Class and Description |
---|---|
static class |
ShadowPath.Point |
Constructor and Description |
---|
ShadowPath() |
Modifier and Type | Method and Description |
---|---|
void |
__constructor__(android.graphics.Path path) |
float[] |
approximate(float acceptableError) |
java.util.List<ShadowPath.Point> |
getPoints() |
java.lang.String |
getQuadDescription() |
ShadowPath.Point |
getWasMovedTo() |
void |
lineTo(float x,
float y) |
void |
moveTo(float x,
float y) |
void |
quadTo(float x1,
float y1,
float x2,
float y2) |
void |
reset() |
@Implementation public void __constructor__(android.graphics.Path path)
@Implementation public void moveTo(float x, float y)
@Implementation public void lineTo(float x, float y)
@Implementation public void quadTo(float x1, float y1, float x2, float y2)
@Implementation public void reset()
@Implementation public float[] approximate(float acceptableError)
public java.lang.String getQuadDescription()
public java.util.List<ShadowPath.Point> getPoints()
Path
public ShadowPath.Point getWasMovedTo()
moveTo(float, float)
method was called