C# Класс NPlot.FilledRegion

A quick and dirty Filled region plottable object
This could be integrated with LinePlot at some stage since a FilledRegion can be bounded by two LinePlots. Describing the Paths once and then both doing a FillPreserve () and a Stroke () would be more efficient
Наследование: IDrawable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Draw ( System g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

Draw the filled region

FilledRegion ( HorizontalLine l1, HorizontalLine l2 ) : System

Constructor

FilledRegion ( LinePlot lp1, LinePlot lp2 ) : System

Constructor

TODO: make this work with other plot types.

FilledRegion ( VerticalLine l1, VerticalLine l2 ) : System

Constructor

Описание методов

Draw() публичный Метод

Draw the filled region
public Draw ( System g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void
g System The GDI+ surface on which to draw.
xAxis PhysicalAxis The X-Axis to draw against.
yAxis PhysicalAxis The Y-Axis to draw against.
Результат void

FilledRegion() публичный Метод

Constructor
public FilledRegion ( HorizontalLine l1, HorizontalLine l2 ) : System
l1 HorizontalLine Vertical line to provide bounds for filled region
l2 HorizontalLine The other Vertical line to provide bounds for filled region
Результат System

FilledRegion() публичный Метод

Constructor
TODO: make this work with other plot types.
public FilledRegion ( LinePlot lp1, LinePlot lp2 ) : System
lp1 LinePlot LinePlot that provides bounds to filled region [upper or lower]
lp2 LinePlot LinePlot that provides bounds to filled region [upper or lower]
Результат System

FilledRegion() публичный Метод

Constructor
public FilledRegion ( VerticalLine l1, VerticalLine l2 ) : System
l1 VerticalLine Vertical line to provide bounds for filled region
l2 VerticalLine The other Vertical line to provide bounds for filled region
Результат System