public class OvalShape extends RectShape
ShapeDrawable
.Constructor and Description |
---|
OvalShape() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas,
Paint paint)
Draw this shape into the provided Canvas, with the provided Paint.
|
void |
getOutline(Outline outline)
Compute the Outline of the shape and return it in the supplied Outline
parameter.
|
public void draw(Canvas canvas, Paint paint)
Shape
Shape.resize(float,float)
.public void getOutline(Outline outline)
Shape
outline
is not changed.getOutline
in class RectShape
outline
- The Outline to be populated with the result. Should not be null.