Android: looking for a drawArc() method with inner & outer radius

后端 未结 5 1726
逝去的感伤
逝去的感伤 2020-11-29 17:49

I have the following custom view:

\"alt

This I have achieved by using the Canvas\' drawArc

5条回答
  •  误落风尘
    2020-11-29 18:12

    You can paint over the inner area using the PorterDuff xfermode called "Clear." This will erase pixels.

提交回复
热议问题