NPlot::FilledRegion Class Reference

A quick and dirty Filled region plottable object. More...

Inheritance diagram for NPlot::FilledRegion:

NPlot::IDrawable List of all members.

Public Member Functions

 FilledRegion (LinePlot lp1, LinePlot lp2)
 Constructor.
 FilledRegion (VerticalLine l1, VerticalLine l2)
 Constructor.
 FilledRegion (HorizontalLine l1, HorizontalLine l2)
 Constructor.
void Draw (System.Drawing.Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis)
 Draw the filled region.

Properties

Brush Brush
 Use this brush (and not a RectangleBrush) for drawing.
IRectangleBrush RectangleBrush
 Use this RectangleBrush (and not a normal Brush) for drawing.
VerticalLine vl1_
VerticalLine vl2_
HorizontalLine hl1_
HorizontalLine hl2_
LinePlot lp1_
LinePlot lp2_
Brush brush_ = new SolidBrush( Color.GhostWhite )
IRectangleBrush areaBrush_ = null

Detailed Description

A quick and dirty Filled region plottable object.

Definition at line 61 of file FilledRegion.cs.


Constructor & Destructor Documentation

NPlot::FilledRegion::FilledRegion LinePlot  lp1,
LinePlot  lp2
[inline]
 

Constructor.

Parameters:
lp1 LinePlot that provides bounds to filled region [upper or lower]
lp2 LinePlot that provides bounds to filled region [upper or lower]
TODO: make this work with other plot types.

Definition at line 70 of file FilledRegion.cs.

References lp1_, and lp2_.

NPlot::FilledRegion::FilledRegion VerticalLine  l1,
VerticalLine  l2
[inline]
 

Constructor.

Parameters:
l1 Vertical line to provide bounds for filled region
l2 The other Vertical line to provide bounds for filled region

Definition at line 82 of file FilledRegion.cs.

References vl1_, and vl2_.

NPlot::FilledRegion::FilledRegion HorizontalLine  l1,
HorizontalLine  l2
[inline]
 

Constructor.

Parameters:
l1 Vertical line to provide bounds for filled region
l2 The other Vertical line to provide bounds for filled region

Definition at line 94 of file FilledRegion.cs.

References hl1_, and hl2_.


Member Function Documentation

void NPlot::FilledRegion::Draw System.Drawing.Graphics  g,
PhysicalAxis  xAxis,
PhysicalAxis  yAxis
[inline]
 

Draw the filled region.

Parameters:
g The GDI+ surface on which to draw.
xAxis The X-Axis to draw against.
yAxis The Y-Axis to draw against.

Definition at line 107 of file FilledRegion.cs.

References NPlot::BaseSequencePlot::AbscissaData, NPlot::VerticalLine::AbscissaValue, areaBrush_, NPlot::PhysicalAxis::Axis, Brush, brush_, NPlot::SequenceAdapter::Count, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, NPlot::IRectangleBrush::Get(), hl1_, hl2_, lp1_, lp2_, NPlot::BaseSequencePlot::OrdinateData, NPlot::HorizontalLine::OrdinateValue, NPlot::PhysicalAxis::PhysicalLength, NPlot::PhysicalAxis::PhysicalMax, NPlot::PhysicalAxis::PhysicalMin, NPlot::ITransform2D::Transform(), vl1_, vl2_, NPlot::Axis::WorldMax, and NPlot::Axis::WorldMin.


Property Documentation

IRectangleBrush NPlot::FilledRegion::areaBrush_ = null [private]
 

Definition at line 200 of file FilledRegion.cs.

Referenced by Draw().

Brush NPlot::FilledRegion::Brush [set]
 

Use this brush (and not a RectangleBrush) for drawing.

Definition at line 168 of file FilledRegion.cs.

Referenced by Draw().

Brush NPlot::FilledRegion::brush_ = new SolidBrush( Color.GhostWhite ) [private]
 

Definition at line 199 of file FilledRegion.cs.

Referenced by Draw().

HorizontalLine NPlot::FilledRegion::hl1_ [private]
 

Definition at line 193 of file FilledRegion.cs.

Referenced by Draw(), and FilledRegion().

HorizontalLine NPlot::FilledRegion::hl2_ [private]
 

Definition at line 194 of file FilledRegion.cs.

Referenced by Draw(), and FilledRegion().

LinePlot NPlot::FilledRegion::lp1_ [private]
 

Definition at line 196 of file FilledRegion.cs.

Referenced by Draw(), and FilledRegion().

LinePlot NPlot::FilledRegion::lp2_ [private]
 

Definition at line 197 of file FilledRegion.cs.

Referenced by Draw(), and FilledRegion().

IRectangleBrush NPlot::FilledRegion::RectangleBrush [set]
 

Use this RectangleBrush (and not a normal Brush) for drawing.

Definition at line 181 of file FilledRegion.cs.

VerticalLine NPlot::FilledRegion::vl1_ [private]
 

Definition at line 190 of file FilledRegion.cs.

Referenced by Draw(), and FilledRegion().

VerticalLine NPlot::FilledRegion::vl2_ [private]
 

Definition at line 191 of file FilledRegion.cs.

Referenced by Draw(), and FilledRegion().


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