android中Path类的知识总结

android.graphics.Path

public class

Path

extends Object
java.lang.Object
   ↳ android.graphics.Path

Class Overview

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.

这个Path类封装复合了由直线段几何路径二维曲线及立方体曲线组成的(多种轮廓的)几何路径。这些路线可以通过Canvas.drawPath(path,paint)方法来画出,填充或者用画笔描画(根据画笔的风格)出来;或者这些路线可以用来剪切或者绘制文本。

Summary

你可能感兴趣的:(Android知识总结)