Click or drag to resize
CanvasLinearGradientBrushCreateHdr Method (ICanvasResourceCreator, CanvasGradientStopHdr, CanvasEdgeBehavior, CanvasAlphaMode)
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,
	CanvasEdgeBehavior edgeBehavior,
	CanvasAlphaMode alphaMode
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
gradientStopsHdr
Type: Microsoft.Graphics.Canvas.BrushesCanvasGradientStopHdr
edgeBehavior
Type: Microsoft.Graphics.CanvasCanvasEdgeBehavior
alphaMode
Type: Microsoft.Graphics.CanvasCanvasAlphaMode

Return Value

Type: CanvasLinearGradientBrush
See Also