Click or drag to resize
CanvasSvgDocumentCreatePathAttribute Method (Single, CanvasSvgPathCommand)
[Win10_15063] Creates an attribute that can be used for path data, for example on the 'd' attribute of a 'path' element.

Namespace:  Microsoft.Graphics.Canvas.Svg
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasSvgPathAttribute CreatePathAttribute(
	float[] segmentData,
	CanvasSvgPathCommand[] commands
)

Parameters

segmentData
Type: SystemSingle
commands
Type: Microsoft.Graphics.Canvas.SvgCanvasSvgPathCommand

Return Value

Type: CanvasSvgPathAttribute
Remarks

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

See Also