Click or drag to resize
CanvasRadialGradientBrushCreateHdr Method (ICanvasResourceCreator, CanvasGradientStopHdr, CanvasEdgeBehavior, CanvasAlphaMode, CanvasColorSpace, CanvasColorSpace, CanvasBufferPrecision)
Initializes a new instance of the CanvasRadialGradientBrush 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 CanvasRadialGradientBrush CreateHdr(
	ICanvasResourceCreator resourceCreator,
	CanvasGradientStopHdr[] gradientStops,
	CanvasEdgeBehavior edgeBehavior,
	CanvasAlphaMode alphaMode,
	CanvasColorSpace preInterpolationSpace,
	CanvasColorSpace postInterpolationSpace,
	CanvasBufferPrecision bufferPrecision
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
gradientStops
Type: Microsoft.Graphics.Canvas.BrushesCanvasGradientStopHdr
edgeBehavior
Type: Microsoft.Graphics.CanvasCanvasEdgeBehavior
alphaMode
Type: Microsoft.Graphics.CanvasCanvasAlphaMode
preInterpolationSpace
Type: Microsoft.Graphics.CanvasCanvasColorSpace
postInterpolationSpace
Type: Microsoft.Graphics.CanvasCanvasColorSpace
bufferPrecision
Type: Microsoft.Graphics.CanvasCanvasBufferPrecision

Return Value

Type: CanvasRadialGradientBrush
See Also