android.graphics.drawable.shapes
Class ArcShape

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

public class ArcShape
extends RectShape


Constructor Summary
ArcShape(float startAngle, float sweepAngle)
           
 
Method Summary
 void draw(Canvas canvas, Paint paint)
           
 
Methods inherited from class android.graphics.drawable.shapes.RectShape
clone, onResize, 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

ArcShape

public ArcShape(float startAngle,
                float sweepAngle)
Method Detail

draw

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


Copyright © 2008-2012. All Rights Reserved.