filmov
tv
#9 Draw Shape Oval to Canvas
Показать описание
Drawing to a Canvas gives you full control of drawing shapes or bitmaps than drawing on to a View object in a layout.
To draw shape onto Canvas :
Create a ShapeDrawable object with required shape.
ShapeDrawable(OvalShape()) to draw Oval
To draw shape onto Canvas :
Create a ShapeDrawable object with required shape.
ShapeDrawable(OvalShape()) to draw Oval