android.graphics.drawable.shapes.Shape
Known Direct Subclasses
Known Indirect Subclasses
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
Public Methods
public
abstract
void
draw(Canvas canvas, Paint paint)
Draw this shape (sized by a previous call to resize()) into the provided
canvas and paint.
public
boolean
hasAlpha()
Returns
- true if any part of the drawable is not opaque. Default impl
returns true. Override if your subclass can be opaque.
public
abstract
void
resize(int width, int height)
Resize this shape (as the subclass sees fit) based on the provided width
and height.