Standard constructor.
Syntax
'Declaration
Public Function New( _
ByVal As Point2D, _
ByVal As Point2D, _
ByVal As Double, _
ByVal As Plane, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Color _
)
public Grid(
Point2D ,
Point2D ,
double ,
Plane ,
Color ,
Color ,
Color ,
bool ,
bool ,
bool ,
bool ,
int ,
int ,
int ,
Color
)
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
See Also