Class ShadowNativeRadialGradient

java.lang.Object
org.robolectric.shadows.ShadowNativeRadialGradient

Shadow for RadialGradient that is backed by native code
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Shadow picker for RadialGradient.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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)
     
    protected static long
    nativeCreate(long matrix, float x, float y, float radius, long[] colors, float[] positions, int tileMode, long colorSpaceHandle)
     
    protected static long
    nativeCreate1(long matrix, float x, float y, float radius, int[] colors, float[] positions, int tileMode)
     
    protected 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
  • Constructor Details

    • ShadowNativeRadialGradient

      public ShadowNativeRadialGradient()
  • Method Details

    • nativeCreate

      @Implementation(minSdk=31, maxSdk=34) protected 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)
    • nativeCreate

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

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

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