dotnetCHARTING Send comments on this topic.
Background Constructor(Color,Color,Single)
See Also 
dotnetCHARTING Namespace > Background Class > Background Constructor : Background Constructor(Color,Color,Single)


myColor
First color.
secondColor
Second color
angle
Specifies an angle ( left to right = 0, right to left = 180 )
Initializes a new instance of the Background object with gradient colors drawn at a specified angle.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal myColor As Color, _
   ByVal secondColor As Color, _
   ByVal angle As Single _
)
Visual Basic (Usage)Copy Code
Dim myColor As Color
Dim secondColor As Color
Dim angle As Single
 
Dim instance As Background(myColor, secondColor, angle)
C# 
public Background( 
   Color myColor,
   Color secondColor,
   float angle
)

Parameters

myColor
First color.
secondColor
Second color
angle
Specifies an angle ( left to right = 0, right to left = 180 )

See Also