Class ShadowNativePathMeasure

java.lang.Object
org.robolectric.shadows.ShadowNativePathMeasure

Shadow for PathMeasure that is backed by native code
  • Constructor Details

    • ShadowNativePathMeasure

      public ShadowNativePathMeasure()
  • Method Details

    • native_create

      @Implementation(minSdk=26, maxSdk=34) protected static long native_create(long nativePath, boolean forceClosed)
    • native_setPath

      @Implementation(minSdk=26, maxSdk=34) protected static void native_setPath(long nativeInstance, long nativePath, boolean forceClosed)
    • native_getLength

      @Implementation(minSdk=26, maxSdk=34) protected static float native_getLength(long nativeInstance)
    • native_getPosTan

      @Implementation(minSdk=26, maxSdk=34) protected static boolean native_getPosTan(long nativeInstance, float distance, float[] pos, float[] tan)
    • native_getMatrix

      @Implementation(minSdk=26, maxSdk=34) protected static boolean native_getMatrix(long nativeInstance, float distance, long nativeMatrix, int flags)
    • native_getSegment

      @Implementation(minSdk=26, maxSdk=34) protected static boolean native_getSegment(long nativeInstance, float startD, float stopD, long nativePath, boolean startWithMoveTo)
    • native_isClosed

      @Implementation(minSdk=26, maxSdk=34) protected static boolean native_isClosed(long nativeInstance)
    • native_nextContour

      @Implementation(minSdk=26, maxSdk=34) protected static boolean native_nextContour(long nativeInstance)
    • native_destroy

      @Implementation(minSdk=26, maxSdk=34) protected static void native_destroy(long nativeInstance)