Package org.robolectric.shadows
Class ShadowLinearGradient
- java.lang.Object
-
- org.robolectric.shadows.ShadowLinearGradient
-
@Implements(android.graphics.LinearGradient.class) public class ShadowLinearGradient extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowLinearGradient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
__constructor__(float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile)
int
getColor0()
int
getColor1()
Shader.TileMode
getTile()
float
getX0()
float
getX1()
float
getY0()
float
getY1()
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile)
-
getX0
public float getX0()
-
getY0
public float getY0()
-
getX1
public float getX1()
-
getY1
public float getY1()
-
getColor0
public int getColor0()
-
getColor1
public int getColor1()
-
getTile
public Shader.TileMode getTile()
-
-