android.graphics.drawable.shapes
Class PathShape
java.lang.Object
android.graphics.drawable.shapes.Shape
android.graphics.drawable.shapes.PathShape
- All Implemented Interfaces:
- Cloneable
public class PathShape
- extends Shape
Constructor Summary |
PathShape(Path path,
float stdWidth,
float stdHeight)
|
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 CloneNotSupportedException
- Overrides:
clone
in class Shape
- Throws:
CloneNotSupportedException
Copyright © 2008-2012. All Rights Reserved.