The Path class encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves. It can be drawn with canvas.drawPath(path, paint), either filled or stroked (based on the paint's Style), or it can be used for clipping or to draw text on a path.
path2.moveTo(90, 330);
path2.lineTo(150,330);
path2.lineTo(120,270);
path2.close();
canvas.drawPath(path2, paint);
画一个三角型i还有一些
如 drawTextOnPath 绘制路径文字推荐文章
http://blog.csdn.net/JavaTiger427/article/details/6034555
如何获取?Path类中没有提供获得坐标的方法啊。
想过了,不知道怎么获取,如果去用算法描述这条路径的话,那就不如直接画,不用path了。