Package org.robolectric.shadows
Class ShadowNativePathMeasure
- java.lang.Object
-
- org.robolectric.shadows.ShadowNativePathMeasure
-
@Implements(value=android.graphics.PathMeasure.class, minSdk=26, shadowPicker=Picker.class, isInAndroidSdk=false) public class ShadowNativePathMeasure extends Object
Shadow forPathMeasurethat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativePathMeasure.PickerShadow picker forPathMeasure.
-
Constructor Summary
Constructors Constructor Description ShadowNativePathMeasure()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static longnative_create(long nativePath, boolean forceClosed)protected static voidnative_destroy(long nativeInstance)protected static floatnative_getLength(long nativeInstance)protected static booleannative_getMatrix(long nativeInstance, float distance, long nativeMatrix, int flags)protected static booleannative_getPosTan(long nativeInstance, float distance, float[] pos, float[] tan)protected static booleannative_getSegment(long nativeInstance, float startD, float stopD, long nativePath, boolean startWithMoveTo)protected static booleannative_isClosed(long nativeInstance)protected static booleannative_nextContour(long nativeInstance)protected static voidnative_setPath(long nativeInstance, long nativePath, boolean forceClosed)
-
-
-
Method Detail
-
native_create
@Implementation(minSdk=26) protected static long native_create(long nativePath, boolean forceClosed)
-
native_setPath
@Implementation(minSdk=26) protected static void native_setPath(long nativeInstance, long nativePath, boolean forceClosed)
-
native_getLength
@Implementation(minSdk=26) protected static float native_getLength(long nativeInstance)
-
native_getPosTan
@Implementation(minSdk=26) protected static boolean native_getPosTan(long nativeInstance, float distance, float[] pos, float[] tan)
-
native_getMatrix
@Implementation(minSdk=26) protected static boolean native_getMatrix(long nativeInstance, float distance, long nativeMatrix, int flags)
-
native_getSegment
@Implementation(minSdk=26) protected static boolean native_getSegment(long nativeInstance, float startD, float stopD, long nativePath, boolean startWithMoveTo)
-
native_isClosed
@Implementation(minSdk=26) protected static boolean native_isClosed(long nativeInstance)
-
native_nextContour
@Implementation(minSdk=26) protected static boolean native_nextContour(long nativeInstance)
-
native_destroy
@Implementation(minSdk=26) protected static void native_destroy(long nativeInstance)
-
-