GcsSloop / AndroidNote

安卓学习笔记
http://www.gcssloop.com/#blog
9.17k stars 2.14k forks source link

请教一下measure.getLength ()测量长度不包含path.moveto()后再lineTo的线段长度 #95

Open ZJLeBron opened 5 years ago

ZJLeBron commented 5 years ago

如何获取包含moveTo再LineTo的这段长度

GcsSloop commented 5 years ago

nextContour() 一段一段的测量,加起来就是总长度。