draw path with hole ( android )

后端 未结 2 595
星月不相逢
星月不相逢 2021-01-11 13:58

Does anyone have a hint for me for the following problem ?

I would like to draw a filled path ( canvas ) which has a hole in it. In SVG the path definition is the f

2条回答
  •  感情败类
    2021-01-11 14:53

    SVG determines what's inside/outside a path by using the fill-rule. Java also allows a winding rule to be set. With Android paths there is also a fillType which works similarly. Perhaps you have different rules set for the java or SVG code?

提交回复
热议问题