praeclarum / NGraphics

NGraphics is a cross platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics using high quality native renderers.
MIT License
705 stars 133 forks source link

Is there any way to erase an area? #121

Open BlueRaja opened 3 years ago

BlueRaja commented 3 years ago

For example, if I want to fill every part of the canvas but leave a circle transparent, a simple way to do it would be to fill a rectangle, then erase a circle. However as far as I can tell there's no way to do that.

Both iOS and Android provide methods of doing this, but as far as I can tell they're not exposed by NGraphics.