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
파일 보기 프로젝트 열기: mono/nplot-gtk 1 사용 예제들

공개 메소드들

메소드 설명
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