public static class ShadowPathParser.PathDataNode extends Object
| Modifier and Type | Method | Description |
|---|---|---|
void |
interpolatePathDataNode(ShadowPathParser.PathDataNode nodeFrom,
ShadowPathParser.PathDataNode nodeTo,
float fraction) |
The current PathDataNode will be interpolated between the
nodeFrom and
nodeTo according to the fraction. |
static void |
nodesToPath(ShadowPathParser.PathDataNode[] node,
Path path) |
Convert an array of PathDataNode to Path.
|
public static void nodesToPath(ShadowPathParser.PathDataNode[] node, Path path)
node - The source array of PathDataNode.path - The target Path object.public void interpolatePathDataNode(ShadowPathParser.PathDataNode nodeFrom, ShadowPathParser.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.