Regular N-Gon Control for Silveright 3
Cristian Merighi ()

Live demo and source code for a custom Silverlight control that renders regular n-gons (convex and star shaped).
This article is obsolete. Some functionalities might not work anymore. Comments are disabled.
Quick post on a - hopefully - useful Silverlight control:
a regular n-gon control à la Photoshop (with either convex and star-mode whose indentation is parametrizable).
We're about to logically handle a Shape object but I'm going to subclass the Control class (just because this Silverlight control targets the version #3 of the plugin).
In 4th version of Silverlight (in Beta as I write this article) the Path class has been unsealed, so you can proceed differently if you intend to create
a custom shape control.
Feel free to test its features at the following link:
An ad-hoc project containing all the relevant source code is provided below, have a nice Christmas!
«
Silverlight 3 Regular N-Gon Control
Take care. Bye.