Draw transparent circle filled outside

后端 未结 3 1341
予麋鹿
予麋鹿 2020-12-01 17:12

I have a mapview that I want to draw a circle on to focus on a given area. But i want the circle to be inverted. That is, instead of the inside of the circle being filled, i

3条回答
  •  情书的邮戳
    2020-12-01 18:04

    Do as you would do to draw a normal circle but with complement location and complement radius. Like:

    {0-Lat, (Long-180)%180, 20037508.34-Radius}
    

提交回复
热议问题