Click or drag to resize
CanvasSvgPaintAttribute Class
[Win10_15063] Object describing an SVG fill or stroke value.
Inheritance Hierarchy
SystemObject
  Microsoft.Graphics.Canvas.SvgCanvasSvgPaintAttribute

Namespace:  Microsoft.Graphics.Canvas.Svg
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public sealed class CanvasSvgPaintAttribute : IDisposable, 
	ICanvasSvgAttribute

The CanvasSvgPaintAttribute type exposes the following members.

Properties
  NameDescription
Public propertyColor
[Win10_15063] Gets the paint color.
Public propertyDevice
[Win10_15063] Gets the device with which this attribute is associated.
Public propertyId
[Win10_15063] Gets the element ID which acts as the paint server.
Public propertyPaintType
[Win10_15063] Specifies the paint type (i.e., policy by which color and URI are considered as sources) for this attribute.
Top
Methods
  NameDescription
Public methodClone
[Win10_15063] Creates a clone of this attribute value.
Public methodDispose
[Win10_15063] Releases all resources used by the CanvasSvgPaintAttribute.
Public methodGetElement
[Win10_15063] Returns the element on which this attribute is set.
Top
Remarks

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

See Also