com.xtremelabs.robolectric.shadows
Class ShadowPaint
java.lang.Object
com.xtremelabs.robolectric.shadows.ShadowPaint
@Implements(value=android.graphics.Paint.class)
public class ShadowPaint
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShadowPaint
public ShadowPaint()
setShader
@Implementation
public android.graphics.Shader setShader(android.graphics.Shader shader)
getAlpha
@Implementation
public int getAlpha()
setAlpha
@Implementation
public void setAlpha(int alpha)
getShader
@Implementation
public android.graphics.Shader getShader()
setColor
@Implementation
public void setColor(int color)
getColor
@Implementation
public int getColor()
setStyle
@Implementation
public void setStyle(android.graphics.Paint.Style style)
getStyle
@Implementation
public android.graphics.Paint.Style getStyle()
setStrokeCap
@Implementation
public void setStrokeCap(android.graphics.Paint.Cap cap)
getStrokeCap
@Implementation
public android.graphics.Paint.Cap getStrokeCap()
setStrokeJoin
@Implementation
public void setStrokeJoin(android.graphics.Paint.Join join)
getStrokeJoin
@Implementation
public android.graphics.Paint.Join getStrokeJoin()
setStrokeWidth
@Implementation
public void setStrokeWidth(float width)
getStrokeWidth
@Implementation
public float getStrokeWidth()
setShadowLayer
@Implementation
public void setShadowLayer(float radius,
float dx,
float dy,
int color)
getShadowRadius
public float getShadowRadius()
getShadowDx
public float getShadowDx()
getShadowDy
public float getShadowDy()
getShadowColor
public int getShadowColor()
getCap
public android.graphics.Paint.Cap getCap()
getJoin
public android.graphics.Paint.Join getJoin()
getWidth
public float getWidth()