The Tim Sneath Challenge VI
August 17, 2006
Roscoe, NY
OK, one more single-element XAML file. This one, in a little different form, is from my book, and demonstrates using a path for clipping.
You can download or run the KeyholeOnTheMoon.xaml file, or just look at it:
-
<!-- KeyholeOnTheMoon.xaml by Charles Petzold -->
<Image xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Source="http://images.jsc.nasa.gov/lores/AS11-40-5903.jpg"
Clip="M 300 130 L 250 350 L 450 350 L 400 130 A 70 70 0 1 0 300 130"
Stretch="None" />