File
Doc
Category
Size
Date
Package
OvalShape.java
API Doc
Android 1.5 API
1197
Wed May 06 22:42:00 BST 2009
android.graphics.drawable.shapes
OvalShape
java.lang.Object
RectShape
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}.
(
Omit source code
)
Fields Summary
Constructors Summary
public OvalShape
()
OvalShape constructor.
Methods Summary
public void
draw
(
android.graphics.Canvas
canvas,
android.graphics.Paint
paint)
canvas.drawOval(rect(), paint);
Java Code Source