PathShapepublic class PathShape extends Shape Creates geometric paths, utilizing the {@link android.graphics.Path} class.
The path can be drawn to a Canvas with its own draw() method,
but more graphical control is available if you instead pass
the PathShape to a {@link android.graphics.drawable.ShapeDrawable}. |
Fields Summary |
---|
private android.graphics.Path | mPath | private float | mStdWidth | private float | mStdHeight | private float | mScaleX | private float | mScaleY |
Constructors Summary |
---|
public PathShape(android.graphics.Path path, float stdWidth, float stdHeight)PathShape constructor.
mPath = path;
mStdWidth = stdWidth;
mStdHeight = stdHeight;
|
|