C# Class NPlot.RectangleBrushes.HorizontalCenterFade

A brush with horizontal gradient that fades into center then out again.
Inheritance: IRectangleBrush
显示文件 Open project: mono/nplot-gtk

Public Methods

Method Description
Get ( Rectangle rectangle ) : Brush

Gets a brush according to the supplied rectangle.

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

HorizontalCenterFade() public method

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