| CanvasSvgPathAttribute Class |
Namespace: Microsoft.Graphics.Canvas.Svg
public sealed class CanvasSvgPathAttribute : IDisposable, ICanvasSvgAttribute
The CanvasSvgPathAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| Commands | [Win10_15063] Gets the array of commands. | |
| Device | [Win10_15063] Gets the device with which this attribute is associated. | |
| SegmentData | [Win10_15063] Gets the array of segment data. |
| Name | Description | |
|---|---|---|
| Clone | [Win10_15063] Creates a clone of this attribute value. | |
| CreatePathGeometry | [Win10_15063] Creates a path geometry object representing the path data. | |
| CreatePathGeometry(CanvasFilledRegionDetermination) | [Win10_15063] Creates a path geometry object representing the path data, using the specified CanvasFilledRegionDetermination. | |
| Dispose | [Win10_15063] Releases all resources used by the CanvasSvgPathAttribute. | |
| GetCommands | [Win10_15063] Gets commands from the commands array. | |
| GetElement | [Win10_15063] Returns the element on which this attribute is set. | |
| GetSegmentData | [Win10_15063] Gets data from the segment data array. | |
| RemoveCommandsAtEnd | [Win10_15063] Removes commands from the end of the commands array. | |
| RemoveSegmentDataAtEnd | [Win10_15063] Removes data from the end of the segment data array. | |
| SetCommands | [Win10_15063] Sets new commands to the commands array. | |
| SetSegmentData | [Win10_15063] Sets new commands to the segment data array. |
This API is only available when running on Windows 10 build 15063 (Creators Update) or greater.
Path data can be set as the 'd' attribute on a 'path' element.
The path data set is organized into two arrays: