Skip to content

Commit dac6f43

Browse files
authored
Update
1 parent 77ade52 commit dac6f43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎CustomView/Advance/[7]Path_Over.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ toggleInverseFillType | 切换填充规则(即原有规则与反向规则之
171171
Path path = new Path(); // 创建Path
172172

173173
//path.setFillType(Path.FillType.EVEN_ODD); // 设置Path填充模式为 奇偶规则
174-
path.setFillType(Path.FillType.INVERSE_WINDING); // 反奇偶规则
174+
path.setFillType(Path.FillType.INVERSE_EVEN_ODD); // 反奇偶规则
175175

176176
path.addRect(-200,-200,200,200, Path.Direction.CW); // 给Path中添加一个矩形
177177
```

0 commit comments

Comments
 (0)