FileDocCategorySizeDatePackage
OvalShape.javaAPI DocAndroid 1.5 API1197Wed May 06 22:42:00 BST 2009android.graphics.drawable.shapes

OvalShape

public class OvalShape extends RectShape
Defines an oval shape. The oval can be drawn to a Canvas with its own draw() method, but more graphical control is available if you instead pass the OvalShape to a {@link android.graphics.drawable.ShapeDrawable}.

Fields Summary
Constructors Summary
public OvalShape()
OvalShape constructor.

Methods Summary
public voiddraw(android.graphics.Canvas canvas, android.graphics.Paint paint)

        canvas.drawOval(rect(), paint);