Click or drag to resize
CanvasSvgDocument Methods

The CanvasSvgDocument type exposes the following members.

Methods
  NameDescription
Public methodCreatePaintAttribute
[Win10_15063] Creates an attribute that can be used for a stroke or fill value.
Public methodCreatePaintAttribute(CanvasSvgPaintType, Color, String)
[Win10_15063] Creates an attribute that can be used for a stroke or fill value.
Public methodCreatePathAttribute
[Win10_15063] Creates an attribute that can be used for path data, for example on the 'd' attribute of a 'path' element.
Public methodCreatePathAttribute(Single, CanvasSvgPathCommand)
[Win10_15063] Creates an attribute that can be used for path data, for example on the 'd' attribute of a 'path' element.
Public methodCreatePointsAttribute
[Win10_15063] Creates an attribute that can be used to describe a collection of points, for example in a polyline or polygon element.
Public methodCreatePointsAttribute(Vector2)
[Win10_15063] Creates an attribute that can be used to describe a collection of points, for example in a polyline or polygon element.
Public methodCreateStrokeDashArrayAttribute
[Win10_15063] Creates an attribute that can be used as a stroke-dasharray vlalue.
Public methodCreateStrokeDashArrayAttribute(Single, CanvasSvgLengthUnits)
[Win10_15063] Creates an attribute that can be used as a stroke-dasharray vlalue.
Public methodDispose
[Win10_15063] Releases all resources used by the CanvasSvgDocument.
Public methodFindElementById
[Win10_15063] Finds the element in this document which has the specified ID.
Public methodGetXml
[Win10_15063] Gets a string containing the SVG for this document.
Public methodStatic memberIsSupported
[Win10_15063] Checks whether CanvasSvgDocument is supported on the current operating system version.
Public methodStatic memberLoadAsync
[Win10_15063] Loads an SVG document from a stream.
Public methodLoadElementAsync
[Win10_15063] Loads an SVG element from a stream containing an XML fragment.
Public methodLoadElementFromXml
[Win10_15063] Loads an SVG element from string containing an XML fragment.
Public methodStatic memberLoadFromXml
[Win10_15063] Loads an SVG document from a string.
Public methodSaveAsync
[Win10_15063] Saves a string containing the SVG for this document.
Top
See Also