android.graphics.drawable.shapes
Class PathShape
java.lang.Object
android.graphics.drawable.shapes.Shape
android.graphics.drawable.shapes.PathShape
- All Implemented Interfaces:
- java.lang.Cloneable
public class PathShape
- extends Shape
|
Constructor Summary |
PathShape(Path path,
float stdWidth,
float stdHeight)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathShape
public PathShape(Path path,
float stdWidth,
float stdHeight)
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
clone
public PathShape clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class Shape
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2008-2010. All Rights Reserved.