ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / LinearGradientBrush Class / LinearGradientBrush Constructor

In This Topic
    LinearGradientBrush Constructor
    In This Topic
    Initializes a new instance of the LinearGradientBrush class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal startPoint As Point, _
       ByVal endPoint As Point, _
       ByVal linearColors() As Color _
    )
    public LinearGradientBrush( 
       Point startPoint,
       Point endPoint,
       Color[] linearColors
    )

    Parameters

    startPoint
    endPoint
    linearColors
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also