Package org.robolectric.shadows
Class ShadowPathParser
java.lang.Object
org.robolectric.shadows.ShadowPathParser
@Implements(value=android.util.PathParser.class, minSdk=24, isInAndroidSdk=false) public class ShadowPathParser extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowPathParser.PathDataNode
-
Constructor Summary
Constructors Constructor Description ShadowPathParser()
-
Method Summary
Modifier and Type Method Description static ShadowPathParser.PathDataNode[]
createNodesFromPathData(String pathData)
protected static Path
createPathFromPathData(String pathData)
protected static boolean
interpolatePathData(PathParser.PathData outData, PathParser.PathData fromData, PathParser.PathData toData, float fraction)
static boolean
nCanMorph(long fromDataPtr, long toDataPtr)
protected static long
nCreateEmptyPathData()
protected static long
nCreatePathData(long nativePtr)
protected static long
nCreatePathDataFromString(String pathString, int stringLength)
-
Constructor Details
-
ShadowPathParser
public ShadowPathParser()
-
-
Method Details
-
createPathFromPathData
-
createNodesFromPathData
-
interpolatePathData
@Implementation protected static boolean interpolatePathData(PathParser.PathData outData, PathParser.PathData fromData, PathParser.PathData toData, float fraction) -
nCanMorph
-
nCreatePathDataFromString
@Implementation protected static long nCreatePathDataFromString(String pathString, int stringLength) -
nCreateEmptyPathData
-
nCreatePathData
-