#517 – XAML Output when Drawing with the Pen Tool

When you use the Pen tool in Blend to draw a path, Blend will generate a Path element in the corresponding XAML for the window or page.  The data representing the geometry of the actual path is located in the Data attribute of the Path element.

Advertisement

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #517 – XAML Output when Drawing with the Pen Tool

  1. toolsche says:

    I like your posts, but interesting would’ve been a short explanation about how to read the Data content. Here is the link to the MSDN page: http://msdn.microsoft.com/en-us/library/ms752293.aspx

    M: Move Command (= Move Pen to start point “x1,y1”)
    C: Cubic Bezier Curve Command (= Add Control Points, “x2,y2 x3,y3 xi,yi”)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: