by Laurent Bugnion via Silverlight on 8/31/2009 11:05:43 PM
I found this collection of vector arrows through Robby Ingebretsen. The designer Sander Baumann created 56 different arrows in vector format (Adobe Illustrator).
I converted these arrows in XAML. The arrows are available in the different formats (right click and choose “Save Target As”):
I also have an Expression Design file available for download.
To use these arrows in Expression Blend, follow the steps:
Note: Silverlight does not support DrawingBrush yet, so this is only available for WPF.
After you moved the arrows you want to use, you can discard the original resource dictionary:
To use the brush, follow the steps:
The arrows are also available as paths, for WPF and for Silverlight. Follow the steps:
Note: For Paths, you may want to enclose them into a Viewbox to allow easy zooming. If you resize a Path, there might be some distortion happening. If you use a Viewbox as the path’s container, the Viewbox will zoom seamlessly.
You can use the WPF Viewbox natively. In Silverlight, you must install the Silverlight toolkit to use a Viewbox.
What took me the longest in the whole conversion process was to organize the elements into separate layers. Like most designers, the original author is probably not familiar with the new usage that we do of vector graphics. New tools, new export processes and new workflows have made the graphics designer into a full member of the development team. Vectors and brushes are not just drawings anymore, they are now assets, source code, that are built into the application, put under source control, compiled and run.
My most important recommendation to the designers is: Try to organize your elements neatly. The following helps tremendously:
Note: It doesn’t mean that the arrows cannot be composed of multiple elements. Some of the arrows above are made of multiple paths. It is fine. The best way in that case is to put all the paths into a group, and the group into its own layer.
Original Post: 56 vector arrows in XAML
The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.