Click or drag to resize
CanvasLinearGradientBrushCreateHdr Method (ICanvasResourceCreator, CanvasGradientStopHdr)
Initializes a new instance of the CanvasLinearGradientBrush class using high-dynamic-range colors.

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

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
gradientStopsHdr
Type: Microsoft.Graphics.Canvas.BrushesCanvasGradientStopHdr

Return Value

Type: CanvasLinearGradientBrush
See Also