Click or drag to resize
CanvasLinearGradientBrush Constructor (ICanvasResourceCreator, CanvasGradientStop, CanvasEdgeBehavior, CanvasAlphaMode, CanvasColorSpace, CanvasColorSpace, CanvasBufferPrecision)
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,
	CanvasEdgeBehavior edgeBehavior,
	CanvasAlphaMode alphaMode,
	CanvasColorSpace preInterpolationSpace,
	CanvasColorSpace postInterpolationSpace,
	CanvasBufferPrecision bufferPrecision
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
gradientStops
Type: Microsoft.Graphics.Canvas.BrushesCanvasGradientStop
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
See Also