public abstract static class ShapeDrawable.ShaderFactory extends Object
Shader
, such as a
LinearGradient
.Constructor and Description |
---|
ShaderFactory() |
Modifier and Type | Method and Description |
---|---|
abstract Shader |
resize(int width,
int height)
Returns the Shader to be drawn when a Drawable is drawn.
|
public abstract Shader resize(int width, int height)
width
- the width of the Drawable being drawnheight
- the heigh of the Drawable being drawn