Skip to content

Commit c22cb86

Browse files
authored
勘误
1 parent ce2d201 commit c22cb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CustomView/Advance/[08]Path_Play.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ canvas.drawPath(dst, mDeafultPaint); // 绘制 Path
234234

235235
### 4.nextContour
236236

237-
我们知道 Path 可以由多条曲线构成,但不论是 getLength , getgetSegment 或者是其它方法,都只会在其中第一条线段上运行,而这个 `nextContour` 就是用于跳转到下一条曲线到方法,_如果跳转成功,则返回 true, 如果跳转失败,则返回 false。_
237+
我们知道 Path 可以由多条曲线构成,但不论是 getLength , getSegment 或者是其它方法,都只会在其中第一条线段上运行,而这个 `nextContour` 就是用于跳转到下一条曲线到方法,_如果跳转成功,则返回 true, 如果跳转失败,则返回 false。_
238238

239239
如下,我们创建了一个 Path 并使其中包含了两个闭合的曲线,内部的边长是200,外面的边长是400,现在我们使用 PathMeasure 分别测量两条曲线的总长度。
240240

0 commit comments

Comments
 (0)