Package org.robolectric.shadows
Class ShadowNativeSweepGradient
- java.lang.Object
-
- org.robolectric.shadows.ShadowNativeSweepGradient
-
@Implements(value=android.graphics.SweepGradient.class, minSdk=26, shadowPicker=Picker.class) public class ShadowNativeSweepGradient extends Object
Shadow forSweepGradientthat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeSweepGradient.PickerShadow picker forSweepGradient.
-
Constructor Summary
Constructors Constructor Description ShadowNativeSweepGradient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static longnativeCreate(long matrix, float x, float y, long[] colors, float[] positions, long colorSpaceHandle)protected static longnativeCreate1(long matrix, float x, float y, int[] colors, float[] positions)protected static longnativeCreate2(long matrix, float x, float y, int color0, int color1)
-
-
-
Method Detail
-
nativeCreate
@Implementation(minSdk=29) 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)
-
-