LEADTOOLS Annotations (Leadtools.Annotations assembly)

AnnLinearGradientBrush Constructor(Color,Color,LinearGradientMode)

Show in webframe





The System.Drawing.Color structure that represents the starting color of this AnnLinearGradientBrush.
The System.Drawing.Color structure that represents the ending color of this AnnLinearGradientBrush.
A LinearGradientMode enumeration element that specifies the orientation of the gradient. The orientation determines the starting and ending points of the gradient. For example, LinearGradientMode.ForwardDiagonal specifies that the starting point is the upper-left corner of the rectangle and the ending point is the lower-right corner of the rectangle.
Initializes a new AnnLinearGradientBrush object based on a starting color, ending color and orientation.
Syntax
public AnnLinearGradientBrush( 
   Color color1,
   Color color2,
   LinearGradientMode mode
)
'Declaration
 
Public Function New( _
   ByVal color1 As Color, _
   ByVal color2 As Color, _
   ByVal mode As LinearGradientMode _
)
'Usage
 
Dim color1 As Color
Dim color2 As Color
Dim mode As LinearGradientMode
 
Dim instance As New AnnLinearGradientBrush(color1, color2, mode)

            

            
public:
AnnLinearGradientBrush( 
   Color color1,
   Color color2,
   LinearGradientMode mode
)

Parameters

color1
The System.Drawing.Color structure that represents the starting color of this AnnLinearGradientBrush.
color2
The System.Drawing.Color structure that represents the ending color of this AnnLinearGradientBrush.
mode
A LinearGradientMode enumeration element that specifies the orientation of the gradient. The orientation determines the starting and ending points of the gradient. For example, LinearGradientMode.ForwardDiagonal specifies that the starting point is the upper-left corner of the rectangle and the ending point is the lower-right corner of the rectangle.
Example
For an example, refer to AnnLinearGradientBrush.
Requirements

Target Platforms

See Also

Reference

AnnLinearGradientBrush Class
AnnLinearGradientBrush Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.