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.
Feedbacks
-
Re: Regular N-Gon Control for Silveright 3
Raghuraman (Saturday, December 26, 2009 3:32 PM)
“Absolutely Cool !!! Thx for Sharing !!!”
-
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!”