NPlot::RectangleBrushes::Horizontal Class Reference

A brush with horizontal gradient. More...

Inheritance diagram for NPlot::RectangleBrushes::Horizontal:

NPlot::IRectangleBrush List of all members.

Public Member Functions

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

Properties

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

Private Attributes

Color c1_
Color c2_

Detailed Description

A brush with horizontal gradient.

Definition at line 1665 of file RectangleBrushes.cs.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
c1 Color on left.
c2 Color on right.

Definition at line 1675 of file RectangleBrushes.cs.

References c1_, and c2_.


Member Function Documentation

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

Gets a brush according to the supplied rectangle.

Parameters:
rectangle the rectangle used to construct the brush
Returns:
The horizontal brush

Implements NPlot::IRectangleBrush.

Definition at line 1686 of file RectangleBrushes.cs.

References c1_, and c2_.


Member Data Documentation

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

Definition at line 1667 of file RectangleBrushes.cs.

Referenced by NPlot::RectangleBrushes::VerticalCenterFade::Get(), NPlot::RectangleBrushes::HorizontalCenterFade::Get(), NPlot::RectangleBrushes::Vertical::Get(), Get(), Horizontal(), NPlot::RectangleBrushes::HorizontalCenterFade::HorizontalCenterFade(), NPlot::RectangleBrushes::Vertical::Vertical(), and NPlot::RectangleBrushes::VerticalCenterFade::VerticalCenterFade().

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

Definition at line 1668 of file RectangleBrushes.cs.

Referenced by NPlot::RectangleBrushes::VerticalCenterFade::Get(), NPlot::RectangleBrushes::HorizontalCenterFade::Get(), NPlot::RectangleBrushes::Vertical::Get(), Get(), Horizontal(), NPlot::RectangleBrushes::HorizontalCenterFade::HorizontalCenterFade(), NPlot::RectangleBrushes::Vertical::Vertical(), and NPlot::RectangleBrushes::VerticalCenterFade::VerticalCenterFade().


Property Documentation

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

Default brush - fades from faint blue to white.

Definition at line 1697 of file RectangleBrushes.cs.

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

Default brush - fades from faint red to white.

Definition at line 1719 of file RectangleBrushes.cs.

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

Default brush - fades from faint red to white.

Definition at line 1708 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