Regular N-Gon Control for Silveright 3

Live demo and source code for a custom Silverlight control that renders regular n-gons (convex and star shaped).

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:

regular silverlight n-gon

An ad-hoc project containing all the relevant source code is provided below, have a nice Christmas!

zip file « Silverlight 3 Regular N-Gon Control

Take care. Bye.


Feedbacks

  • Re: Regular N-Gon Control for Silveright 3

    Raghuraman (Saturday, December 26, 2009 3:32 PM)

    “Absolutely Cool !!! Thx for Sharing !!!” rated 4

  • Re: Regular N-Gon Control for Silveright 3

    jonvon (Tuesday, June 01, 2010 7:56 AM)

    “it is cool”

  • Re: Regular N-Gon Control for Silveright 3

    redfox (Thursday, June 17, 2010 8:46 AM)

    “Good!” rated 5

SL2