Creates and initializes an instance of the GradientColor class.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic

Public Sub New ( _
	color1 As Color, _
	color2 As Color _
)

C#

public GradientColor(
	Color color1,
	Color color2
)

Parameters

color1

Type: System.Drawing..::.Color

The top gradient color

color2

Type: System.Drawing..::.Color

The bottom gradient color.