Package org.robolectric.shadows
Class ShadowPathParser.PathDataNode
java.lang.Object
org.robolectric.shadows.ShadowPathParser.PathDataNode
- Enclosing class:
- ShadowPathParser
- 
Method SummaryModifier and TypeMethodDescriptionvoidinterpolatePathDataNode(ShadowPathParser.PathDataNode nodeFrom, ShadowPathParser.PathDataNode nodeTo, float fraction) The current PathDataNode will be interpolated between thenodeFromandnodeToaccording to thefraction.static voidnodesToPath(ShadowPathParser.PathDataNode[] node, Path path) Convert an array of PathDataNode to Path.
- 
Method Details- 
nodesToPathConvert an array of PathDataNode to Path.- Parameters:
- node- The source array of PathDataNode.
- path- The target Path object.
 
- 
interpolatePathDataNodepublic void interpolatePathDataNode(ShadowPathParser.PathDataNode nodeFrom, ShadowPathParser.PathDataNode nodeTo, float fraction) The current PathDataNode will be interpolated between thenodeFromandnodeToaccording to thefraction.- Parameters:
- nodeFrom- The start value as a PathDataNode.
- nodeTo- The end value as a PathDataNode
- fraction- The fraction to interpolate.
 
 
-