Click or drag to resize
CanvasLinearGradientBrushCreateHdr Method (ICanvasResourceCreator, Vector4, Vector4)
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,
	Vector4 startColorHdr,
	Vector4 endColorHdr
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
startColorHdr
Type: System.NumericsVector4
endColorHdr
Type: System.NumericsVector4

Return Value

Type: CanvasLinearGradientBrush
See Also