GcsSloop / GcsSloop/AndroidNote
反奇偶规则Path.FillType.EVEN_ODD怎么失效了。
Ouverte
- Langage dominant
- Java
- Étoiles
- 9.3k
- Forks
- 2.1k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
mPaint.setStyle(Paint.Style.FILL);
canvas.translate(mWidth / 2, mHeight / 2);
Path path = new Path();
path.addRect(-200,-200,200,200, Path.Direction.CW);
//path.setFillType(Path.FillType.EVEN_ODD);
path.setFillType(Path.FillType.INVERSE_EVEN_ODD); // 反奇偶规则
canvas.drawPath(path, mPaint);
效果跟使用Path.FillType.EVEN_ODD的效果一样,应该相反的。不知道怎么回事。。
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.