C# Class NPlot.RectangleBrushes.VerticalCenterFade

Brush with vertical gradient that fades into center then out again.
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.

VerticalCenterFade ( 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

VerticalCenterFade() public method

Constructor
public VerticalCenterFade ( Color c1, Color c2 ) : System
c1 Color inner color
c2 Color outer color
return System