C# 클래스 NPlot.Grid

Encapsulates a Grid IDrawable object. Instances of this can be added to a PlotSurface2D to produce a grid.
상속: IDrawable
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

Draws the grid

Grid ( ) : System.Collections.Generic

Default constructor

비공개 메소드들

메소드 설명
DrawGridLines ( Graphics g, PhysicalAxis axis, PhysicalAxis orthogonalAxis, List a, bool horizontal, Pen p ) : void

Does all the work in drawing grid lines.

메소드 상세

Draw() 공개 메소드

Draws the grid
public Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void
g Graphics The graphics surface on which to draw
xAxis PhysicalAxis The physical x axis to draw horizontal lines parallel to.
yAxis PhysicalAxis The physical y axis to draw vertical lines parallel to.
리턴 void

Grid() 공개 메소드

Default constructor
public Grid ( ) : System.Collections.Generic
리턴 System.Collections.Generic