<br><br>On Tuesday, May 15, 2012, Richard Greenwood  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The ability to create a donut hole in a polygon is very slick! But now<br>

I&#39;d like to add the same functionality to the regular polygon tool.<br>
The RegularPolygon is based on the Drag handler as opposed to the<br>
Polygon which is based on the Path handler. The Drag handler and the<br>
RegularPolygon do not to appear to the provide a holemodifier option<br>
or hole creation functionality. Can anyone give me suggestions or<br>
pointers on how to add hole creation functionality to the<br>
RegularPolygon handler?</blockquote><div><br></div><div>It is indeed a shame that RegularPolygon does not inherit (to the broad sense) from Polygon&#39;s functionality.</div><div><br></div><div>I&#39;m afraid you&#39;ll have to write your own RegularPolygon handler. You can some inspiration by looking at the Polygon handler.</div>
<div><br></div><div>Good luck.<span></span></div><br><br>-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com">http://www.camptocamp.com</a><br><br>