Polygons with holes inside

Topics: Windows Forms
Nov 6, 2010 at 1:35 AM

Hi,

I would like to know if it's possible to draw a polygon, and then, to remove another polygon from the inside.

I'd like to create this kind of shape (like the green one)

http://www.forestpal.com/Help/images/poly7.png

I cannot just place a white one in the middle of the green one because I want to see the background (a map).

Thanks a lot

Coordinator
Nov 6, 2010 at 2:08 AM

i guess you need a custom overlay with overridden function DrawPolygons to make holes