C# Class NPlot.RectangleBrushes.Horizontal

A brush with horizontal gradient.
Inheritance: IRectangleBrush
Mostra file Open project: mono/nplot-gtk

Public Methods

Method Description
Get ( Rectangle rectangle ) : Brush

Gets a brush according to the supplied rectangle.

Horizontal ( Color c1, Color c2 ) : System

Constructor

Method Details

Get() public method

Gets a brush according to the supplied rectangle.
public Get ( Rectangle rectangle ) : Brush
rectangle System.Drawing.Rectangle the rectangle used to construct the brush
return System.Drawing.Brush

Horizontal() public method

Constructor
public Horizontal ( Color c1, Color c2 ) : System
c1 Color Color on left.
c2 Color Color on right.
return System