android.graphics.drawable.shapes
Class RoundRectShape

java.lang.Object
  extended by android.graphics.drawable.shapes.Shape
      extended by android.graphics.drawable.shapes.RectShape
          extended by android.graphics.drawable.shapes.RoundRectShape
All Implemented Interfaces:
Cloneable

public class RoundRectShape
extends RectShape


Constructor Summary
RoundRectShape(float[] outerRadii, RectF inset, float[] innerRadii)
           
 
Method Summary
 RoundRectShape clone()
           
 void draw(Canvas canvas, Paint paint)
           
protected  void onResize(float w, float h)
           
 
Methods inherited from class android.graphics.drawable.shapes.RectShape
rect
 
Methods inherited from class android.graphics.drawable.shapes.Shape
getHeight, getWidth, hasAlpha, resize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundRectShape

public RoundRectShape(float[] outerRadii,
                      RectF inset,
                      float[] innerRadii)
Method Detail

draw

public void draw(Canvas canvas,
                 Paint paint)
Overrides:
draw in class RectShape

onResize

protected void onResize(float w,
                        float h)
Overrides:
onResize in class RectShape

clone

public RoundRectShape clone()
                     throws CloneNotSupportedException
Overrides:
clone in class RectShape
Throws:
CloneNotSupportedException


Copyright © 2008-2012. All Rights Reserved.