public static class PathParser.PathDataNode
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
interpolatePathDataNode(PathParser.PathDataNode nodeFrom,
PathParser.PathDataNode nodeTo,
float fraction)
The current PathDataNode will be interpolated between the
nodeFrom and nodeTo according to the
fraction. |
static void |
nodesToPath(PathParser.PathDataNode[] node,
android.graphics.Path path)
Convert an array of PathDataNode to Path.
|
public static void nodesToPath(PathParser.PathDataNode[] node, android.graphics.Path path)
node - The source array of PathDataNode.path - The target Path object.public void interpolatePathDataNode(PathParser.PathDataNode nodeFrom, PathParser.PathDataNode nodeTo, float fraction)
nodeFrom and nodeTo according to the
fraction.nodeFrom - The start value as a PathDataNode.nodeTo - The end value as a PathDataNodefraction - The fraction to interpolate.