Class ShadowNativeSweepGradient

java.lang.Object
org.robolectric.shadows.ShadowNativeSweepGradient

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

    • ShadowNativeSweepGradient

      public ShadowNativeSweepGradient()
  • Method Details

    • nativeCreate

      @Implementation(minSdk=29, maxSdk=34) protected static long nativeCreate(long matrix, float x, float y, long[] colors, float[] positions, long colorSpaceHandle)
    • nativeCreate1

      @Implementation(minSdk=26, maxSdk=28) protected static long nativeCreate1(long matrix, float x, float y, int[] colors, float[] positions)
    • nativeCreate2

      @Implementation(minSdk=26, maxSdk=28) protected static long nativeCreate2(long matrix, float x, float y, int color0, int color1)