Click or drag to resize
CanvasLinearGradientBrush Constructor (ICanvasResourceCreator, CanvasGradientStop)
Initializes a new instance of the CanvasLinearGradientBrush class.

Namespace:  Microsoft.Graphics.Canvas.Brushes
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasLinearGradientBrush(
	ICanvasResourceCreator resourceCreator,
	CanvasGradientStop[] gradientStops
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
gradientStops
Type: Microsoft.Graphics.Canvas.BrushesCanvasGradientStop
See Also