问题
I have one for a Star that looks like:
Data="M 61.3431396484375,0 C61.3431396484375,0 80.2991943359375,38.40919494628906 80.2991943359375,38.40919494628906 80.2991943359375,38.40919494628906 122.686279296875,44.56840515136719 122.686279296875,44.56840515136719 122.686279296875,44.56840515136719 92.01470947265625,74.46580505371094 92.01470947265625,74.46580505371094 92.01470947265625,74.46580505371094 99.25527954101562,116.68159484863281 99.25527954101562,116.68159484863281 99.25527954101562,116.68159484863281 61.3431396484375,96.75 61.3431396484375,96.75 61.3431396484375,96.75 23.430999755859375,116.68159484863281 23.430999755859375,116.68159484863281 23.430999755859375,116.68159484863281 30.67156982421875,74.46580505371094 30.67156982421875,74.46580505371094 30.67156982421875,74.46580505371094 0,44.56840515136719 0,44.56840515136719 0,44.56840515136719 42.3870849609375,38.40919494628906 42.3870849609375,38.40919494628906 42.3870849609375,38.40919494628906 61.3431396484375,0 61.3431396484375,0 z"
回答1:
The best strategy for any question like "Where can I get a XAML path for an XYZZY?" is to go find some clipart from Open Clip Art Library like:
- Clipart search results for "eyeball"
pick which one you want, and then convert it from SVG format to XAML using Inkscape:
- Inkscape
Just load the SVG file and then save as XAML.
Here's a screenshot, I just converted one from the above search results:

回答2:
Try http://www.xamalot.com/find/eyeball
回答3:
Where can I get a XAML path for an eyeball?
Not from me. What exactly should that look like anyway?
By the way, the Data string you posted is just a compressed form, you can easily create circles and other shapes by settng a PathGeometry as the Data, see How to: Create a Shape using PathGeomertry and use EllipseGeometries.
(Since an eyeball is made up of multiple shapes this article might be of interest as well)
来源:https://stackoverflow.com/questions/6300998/where-can-i-get-a-xaml-path-for-an-eyeball