Resumé

Regular N-Gon Control for Silveright 3

Cristian Merighi () 4.50

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:

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 4.00

    Absolutely Cool !!! Thx for Sharing !!!

  • Re: Regular N-Gon Control for Silveright 3

    jonvon Tuesday, June 01, 2010 0.00

    it is cool

  • Re: Regular N-Gon Control for Silveright 3

    redfox Thursday, June 17, 2010 5.00

    Good!

feedback
 

Syndicate

Author

Cristian Merighi facebook twitter google+ youtube

Latest articles

Top rated

Archive

Where am I?

Author

Cristian Merighi facebook twitter google+ youtube

I'm now reading

Feeds