C# Класс NPlot.Grid

Encapsulates a Grid IDrawable object. Instances of this can be added to a PlotSurface2D to produce a grid.
Наследование: IDrawable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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