@Implements(value=android.graphics.Path.class) public class ShadowPath extends Object
android.graphics.Path.
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) |
List<ShadowPath.Point> |
getPoints()
Non-Android accessor.
|
String |
getQuadDescription() |
ShadowPath.Point |
getWasMovedTo()
Non-Android accessor.
|
void |
lineTo(float x,
float y) |
void |
moveTo(float x,
float y) |
void |
quadTo(float x1,
float y1,
float x2,
float y2) |
void |
reset() |
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 String getQuadDescription()
public List<ShadowPath.Point> getPoints()
Pathpublic ShadowPath.Point getWasMovedTo()
moveTo(float, float) method was calledCopyright © 2015. All rights reserved.