Path Mini-language Commands : Path « Shapes « Silverlight






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

   
    
    
  








Related examples in the same category

1.Creating a Path
2.Curves and AnimationCurves and Animation
3.Line Joins MiterLine Joins Miter
4.Discrete Point Jumps
5.Creating Elliptic Arcs with PathCreating Elliptic Arcs with Path
6.Elliptic Arcs with ArcSegment Objects
7.Path with fill rule F1 = NonZero
8.Path DataPath Data
9.Use Ellipse Geometry as Path DataUse Ellipse Geometry as Path Data
10.Use RectangleGeometry as Path DataUse RectangleGeometry as Path Data
11.Vertical Line with PathVertical Line with Path
12.Horizontal Line with PathHorizontal Line with Path
13.Line with PathLine with Path
14.Path gradient and BezierPath gradient and Bezier
15.Single Bezier
16.Overlapping StarsOverlapping Stars
17.Path Mini LanguagePath Mini Language
18.Multiple SubpathsMultiple Subpaths
19.Close Path CommandClose Path Command
20.Path.Data with LineSegmentPath.Data with LineSegment
21.Path Margin as resourcePath Margin as resource
22.Shorthand Path dataShorthand Path data
23.Drawn with a Path Shape with GeometryDrawn with a Path Shape with Geometry
24.Multiple Line SegmentsMultiple Line Segments
25.Mini Language InfinityMini Language Infinity