Mega Code Archive

 
Categories / Silverlight / Shapes
 

Path Mini-language Commands

Command                    Action M x,y                     Move to position x,y L x,y                     Draw a line from the current position to position x,y C x1,y1, x2,y2, x3,y3     Draw a cubic Bezier segment with control points (x1,y1), (x2,y2), and (x3,y3) Q x1,y1, x2,y2            Draw a quadratic Bezier segment with control points (x1,y1), and (x2,y2) H x                        Draw a horizontal line from the current position x0,y0 to position x,y0 V y                        Draw a vertical line from the current position x0,y0 to position x0,y Z                        Close a figure F0                        Specify EvenOdd fill rule F1                        Specify NonZero fill rule