Class RadialGradientNatives

java.lang.Object
org.robolectric.nativeruntime.RadialGradientNatives

public class RadialGradientNatives extends Object
Native methods for RadialGradient JNI registration.

Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/RadialGradient.java

  • Method Summary

    Modifier and Type
    Method
    Description
    static long
    nativeCreate(long matrix, float startX, float startY, float startRadius, float endX, float endY, float endRadius, long[] colors, float[] positions, int tileMode, long colorSpaceHandle)
     
    static long
    nativeCreate1(long matrix, float x, float y, float radius, int[] colors, float[] positions, int tileMode)
     
    static long
    nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • nativeCreate

      public static long nativeCreate(long matrix, float startX, float startY, float startRadius, float endX, float endY, float endRadius, long[] colors, float[] positions, int tileMode, long colorSpaceHandle)
    • nativeCreate1

      public static long nativeCreate1(long matrix, float x, float y, float radius, int[] colors, float[] positions, int tileMode)
    • nativeCreate2

      public static long nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode)