Grid(Point2D, Point2D, Double, Plane, Color, Color, Boolean, Boolean, Boolean, Boolean, Int32, Int32, Int32, Color) Constructor

Standard constructor.
Public Sub New( _ 
ByVal min As Point2D, _ 
ByVal max As Point2D, _ 
ByVal step As Double, _ 
ByVal plane As Plane, _ 
ByVal lineColor As Color, _ 
ByVal axisColor 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
)
This language is not supported or no code example is available.
public Grid( 
Point2D min
Point2D max
double step
Plane plane
Color lineColor
Color axisColor
bool autoSize
bool visible
bool alwaysBehind
bool autoStep
int minNumberOfLines
int maxNumberOfLines
int majorLinesEvery
Color majorLineColor 
)
This language is not supported or no code example is available.

Parameters

min
Point2D

Minimum 2D grid point

max
Point2D

Maximum 2D grid point

step
double

Grid step

plane
Plane

Grid plane

lineColor
Color

Color used to draw lines

axisColor
Color

Color used to draw axes

autoSize
bool

If true, the grid is resized automatically.

visible
bool

Visibility status

alwaysBehind
bool

If true, the grids is drawn always behind the geometry

autoStep
bool

If true, the grid real step is a multiple of the Step to keep the number of lines between MinLines and MaxLines

minNumberOfLines
int

If AutoStep is true, defines the Minimum number of lines

maxNumberOfLines
int

If AutoStep is true, defines the Maximum number of lines

majorLinesEvery
int

The number of steps between two major lines

majorLineColor
Color

Color used to draw major lines

.NET Framework

Supported in: 4.8

In this article

Definition