ComponentOne Bitmap for WPF
Create(RenderTarget,LinearGradientBrushProperties,GradientStopCollection) Method

C1.WPF.DX.4 Assembly > C1.Util.DX.Direct2D Namespace > LinearGradientBrush Class > Create Method : Create(RenderTarget,LinearGradientBrushProperties,GradientStopCollection) Method
an instance of RenderTarget
The start and end points of the gradient.
A collection of GradientStop structures that describe the colors in the brush's gradient and their locations along the gradient line.
Creates an LinearGradientBrush that contains the specified gradient stops and has the specified transform and base opacity.
Syntax

Parameters

renderTarget
an instance of RenderTarget
linearGradientBrushProperties
The start and end points of the gradient.
gradientStopCollection
A collection of GradientStop structures that describe the colors in the brush's gradient and their locations along the gradient line.
See Also

Reference

LinearGradientBrush Class
LinearGradientBrush Members
Overload List