Example usage for Java android.graphics.drawable ShapeDrawable fields, constructors, methods, implement or subclass
The text is from its open source code.
ShapeDrawable(Shape s) Creates a ShapeDrawable with a specified Shape. | |
ShapeDrawable() ShapeDrawable constructor. |
void | draw(Canvas canvas) |
Paint | getPaint() Returns the Paint used to draw the shape. |
void | setAlpha(int alpha) Set the alpha level for this drawable [0..255]. |
void | setBounds(int left, int top, int right, int bottom) Specify a bounding rectangle for the Drawable. |
void | setDither(boolean dither) |
void | setIntrinsicHeight(int height) Sets the intrinsic (default) height for this shape. |
void | setIntrinsicWidth(int width) Sets the intrinsic (default) width for this shape. |
void | setPadding(int left, int top, int right, int bottom) Sets padding for the shape. |
void | setShaderFactory(ShaderFactory fact) Sets a ShaderFactory to which requests for a android.graphics.Shader object will be made. |
void | setShape(Shape s) Sets the Shape of this ShapeDrawable. |