Eyeshot 10 WinForms API Reference
Grid Constructor(Point2D,Point2D,Double,Plane,Color,Color,Color,Boolean,Boolean,Boolean,Boolean,Int32,Int32,Int32,Color,Color,Boolean)

WinForms Assembly > devDept.Eyeshot Namespace > Grid Class > Grid Constructor : Grid Constructor(Point2D,Point2D,Double,Plane,Color,Color,Color,Boolean,Boolean,Boolean,Boolean,Int32,Int32,Int32,Color,Color,Boolean)
Minimum 2D grid point
Maximum 2D grid point
Grid step
Grid plane
Color used to draw lines
Color used to draw X axis
Color used to draw Y axis
If true, the grid is resized automatically.
Visibility status
If true, the grids is drawn always behind the geometry
If true, the grid real step is a multiple of the Step to keep the number of lines between MinLines and MaxLines
If AutoStep is true, defines the Minimum number of lines
If AutoStep is true, defines the Maximum number of lines
The number of steps between two major lines
Color used to draw major lines
Color used to draw the grid plane
When false, the UI element is drawn with a flat color.
Standard constructor.
Syntax
'Declaration
 
Public Function New( _
   ByVal min As Point2D, _
   ByVal max As Point2D, _
   ByVal step As Double, _
   ByVal plane As Plane, _
   ByVal lineColor As Color, _
   ByVal colorAxisX As Color, _
   ByVal colorAxisY As Color, _
   ByVal autoSize As Boolean, _
   ByVal visible As Boolean, _
   ByVal alwaysBehind As Boolean, _
   ByVal autoStep As Boolean, _
   ByVal minNumberOfLines As Integer, _
   ByVal maxNumberOfLines As Integer, _
   ByVal majorLinesEvery As Integer, _
   ByVal majorLineColor As Color, _
   ByVal fillColor As Color, _
   ByVal lighting As Boolean _
)
public Grid( 
   Point2D min,
   Point2D max,
   double step,
   Plane plane,
   Color lineColor,
   Color colorAxisX,
   Color colorAxisY,
   bool autoSize,
   bool visible,
   bool alwaysBehind,
   bool autoStep,
   int minNumberOfLines,
   int maxNumberOfLines,
   int majorLinesEvery,
   Color majorLineColor,
   Color fillColor,
   bool lighting
)

Parameters

min
Minimum 2D grid point
max
Maximum 2D grid point
step
Grid step
plane
Grid plane
lineColor
Color used to draw lines
colorAxisX
Color used to draw X axis
colorAxisY
Color used to draw Y axis
autoSize
If true, the grid is resized automatically.
visible
Visibility status
alwaysBehind
If true, the grids is drawn always behind the geometry
autoStep
If true, the grid real step is a multiple of the Step to keep the number of lines between MinLines and MaxLines
minNumberOfLines
If AutoStep is true, defines the Minimum number of lines
maxNumberOfLines
If AutoStep is true, defines the Maximum number of lines
majorLinesEvery
The number of steps between two major lines
majorLineColor
Color used to draw major lines
fillColor
Color used to draw the grid plane
lighting
When false, the UI element is drawn with a flat color.
See Also

Reference

Grid Class
Grid Members
Overload List