android.graphics.drawable.shapes
Class RectShape
java.lang.Object
android.graphics.drawable.shapes.Shape
android.graphics.drawable.shapes.RectShape
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- ArcShape, OvalShape, RoundRectShape
public class RectShape
- extends Shape
RectShape
public RectShape()
draw
public void draw(Canvas canvas,
Paint paint)
- Specified by:
draw
in class Shape
onResize
protected void onResize(float width,
float height)
- Overrides:
onResize
in class Shape
rect
protected final RectF rect()
clone
public RectShape clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Shape
- Throws:
CloneNotSupportedException
Copyright © 2008-2010. All Rights Reserved.