Click or drag to resize
CanvasSvgDocumentCreatePaintAttribute Method (CanvasSvgPaintType, Color, String)
[Win10_15063] Creates an attribute that can be used for a stroke or fill value.

Namespace:  Microsoft.Graphics.Canvas.Svg
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasSvgPaintAttribute CreatePaintAttribute(
	CanvasSvgPaintType paintType,
	Color color,
	string id
)

Parameters

paintType
Type: Microsoft.Graphics.Canvas.SvgCanvasSvgPaintType
color
Type: Windows.UIColor
id
Type: SystemString

Return Value

Type: CanvasSvgPaintAttribute
Remarks

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

See Also