Class ShadowNativeLinearGradient

java.lang.Object
org.robolectric.shadows.ShadowNativeLinearGradient

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

    • ShadowNativeLinearGradient

      public ShadowNativeLinearGradient()
  • Method Details

    • nativeCreate

      @Implementation(minSdk=29, maxSdk=34) protected long nativeCreate(long matrix, float x0, float y0, float x1, float y1, long[] colors, float[] positions, int tileMode, long colorSpaceHandle)
    • nativeCreate1

      @Implementation(minSdk=26, maxSdk=28) protected long nativeCreate1(long matrix, float x0, float y0, float x1, float y1, int[] colors, float[] positions, int tileMode)
    • nativeCreate2

      @Implementation(minSdk=26, maxSdk=28) protected long nativeCreate2(long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode)