NPlot::RectangleBrushes::VerticalCenterFade Class Reference

Brush with vertical gradient that fades into center then out again. More...

Inheritance diagram for NPlot::RectangleBrushes::VerticalCenterFade:

NPlot::IRectangleBrush List of all members.

Public Member Functions

 VerticalCenterFade (Color c1, Color c2)
 Constructor.
Brush Get (Rectangle rectangle)
 Gets a brush according to the supplied rectangle.

Properties

static VerticalCenterFade FaintBlueFade
 Default brush - fades from faint blue to white.
static VerticalCenterFade FaintRedFade
 Default brush - fades from faint red to white.
static VerticalCenterFade FaintGreenFade
 Default brush - fades from faint red to white.

Private Attributes

Color c1_
Color c2_

Detailed Description

Brush with vertical gradient that fades into center then out again.

Definition at line 1879 of file RectangleBrushes.cs.


Constructor & Destructor Documentation

NPlot::RectangleBrushes::VerticalCenterFade::VerticalCenterFade Color  c1,
Color  c2
[inline]
 

Constructor.

Parameters:
c1 inner color
c2 outer color

Definition at line 1889 of file RectangleBrushes.cs.

References NPlot::RectangleBrushes::Horizontal::c1_, and NPlot::RectangleBrushes::Horizontal::c2_.


Member Function Documentation

Brush NPlot::RectangleBrushes::VerticalCenterFade::Get Rectangle  rectangle  )  [inline]
 

Gets a brush according to the supplied rectangle.

Parameters:
rectangle the rectangle used to construct the brush
Returns:
The vertical center fade brush

Implements NPlot::IRectangleBrush.

Definition at line 1900 of file RectangleBrushes.cs.

References NPlot::RectangleBrushes::Horizontal::c1_, and NPlot::RectangleBrushes::Horizontal::c2_.


Member Data Documentation

Color NPlot::RectangleBrushes::VerticalCenterFade::c1_ [private]
 

Definition at line 1881 of file RectangleBrushes.cs.

Color NPlot::RectangleBrushes::VerticalCenterFade::c2_ [private]
 

Definition at line 1882 of file RectangleBrushes.cs.


Property Documentation

VerticalCenterFade NPlot::RectangleBrushes::VerticalCenterFade::FaintBlueFade [static, get]
 

Default brush - fades from faint blue to white.

Definition at line 1918 of file RectangleBrushes.cs.

VerticalCenterFade NPlot::RectangleBrushes::VerticalCenterFade::FaintGreenFade [static, get]
 

Default brush - fades from faint red to white.

Definition at line 1940 of file RectangleBrushes.cs.

VerticalCenterFade NPlot::RectangleBrushes::VerticalCenterFade::FaintRedFade [static, get]
 

Default brush - fades from faint red to white.

Definition at line 1929 of file RectangleBrushes.cs.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 01:04:09 2005 for NPlot by  doxygen 1.4.5