Click here to Skip to main content
15,795,581 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys and girls! Got a relatively stupid question to ask. This is a simple arrow drawn in wpf to point to the right:

Content="M 0 0 L 40 20 L 0 40 Z"/>

can anybody help me to make it point to the left? I don't get the point system yet and i know this is something stupid.


1 solution

You have

{M}ove to 0,0
{L}ine to 40,20
{L}ine to 0,40
{Z} End

To reverse, I would guess

{M}ove to 40,0
{L}ine to 0,20
{L}ine to 40,40
{Z} End

Content="M 40 0 L 0 20 L 40 40 Z"/>

Path Markup Syntax[^]
Share this answer
Ace_Hardlight 9-Nov-11 0:54am    
Thank you so much :) you're a life saver!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900