Click or drag to resize
CanvasSvgPathCommand Enumeration
[Win10_15063] Represents a path commmand.

Namespace:  Microsoft.Graphics.Canvas.Svg
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public enum CanvasSvgPathCommand
Members
  Member nameValueDescription
ClosePath0[Win10_15063] Closes the current subpath. Uses no segment data.
MoveAbsolute1[Win10_15063] Starts a new subpath at the coordinate (x y).
MoveRelative2[Win10_15063] Starts a new subpath at the coordinate (x y).
LineAbsolute3[Win10_15063] Draws a line to the coordinate (x y).
LineRelative4[Win10_15063] Draws a line to the coordinate (x y).
CubicAbsolute5[Win10_15063] Draws a cubic Bezier curve (x1 y1 x2 y2 x y).
CubicRelative6[Win10_15063] Draws a cubic Bezier curve (x1 y1 x2 y2 x y).
QuadraticAbsolute7[Win10_15063] Draws a quadratic Bezier curve (x1 y1 x y).
QuadraticRelative8[Win10_15063] Draws a quadratic Bezier curve (x1 y1 x y).
ArcAbsolute9[Win10_15063] Draws an elliptical arc (rx ry x-axis-rotation large-arc-flag sweep-flag x y).
ArcRelative10[Win10_15063] Draws an elliptical arc (rx ry x-axis-rotation large-arc-flag sweep-flag x y).
HorizontalAbsolute11[Win10_15063] Draws a horizontal line to the coordinate (x).
HorizontalRelative12[Win10_15063] Draws a horizontal line to the coordinate (x).
VerticalAbsolute13[Win10_15063] Draws a vertical line to the coordinate (x).
VerticalRelative14[Win10_15063] Draws a vertical line to the coordinate (x).
CubicSmoothAbsolute15[Win10_15063] Draws a smooth cubic Bezier curve (x2 y2 x y)
CubicSmoothRelative16[Win10_15063] Draws a smooth cubic Bezier curve (x2 y2 x y)
QuadraticSmoothAbsolute17[Win10_15063] Draws a smooth quadratic Bezier curve ending at (x, y).
QuadraticSmoothRelative18[Win10_15063] Draws a smooth quadratic Bezier curve ending at (x, y).
Remarks

This API is only available when running on Windows 10 build 15063 (Creators Update) or greater.

Each command may reference elements from the segment data. Commands ending in Absolute interpret data as absolute coordinate. Commands ending in Relative interpret data as being relative to the previous point.
See Also