VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateLinearGradientBrush Methods / CreateLinearGradientBrush(RectangleF,ColorBase,ColorBase) Method
Syntax Requirements SeeAlso
In This Topic
CreateLinearGradientBrush(RectangleF,ColorBase,ColorBase) Method (DrawingFactory)
In This Topic
Creates a linear gradient brush.
Syntax

Parameters

rectangle
A System.Drawing.RectangleF structure that specifies the bounds of the linear gradient.
startColor
The starting color of the linear gradient.
endColor
The ending color of the linear gradient.

Return Value

A new linear gradient brush.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also