Returns a checkerboard pattern.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static Brush Checkerboard(
	int n,
	Color colorA,
	Color colorB
)
Visual Basic (Declaration)
Public Shared Function Checkerboard ( _
	n As Integer, _
	colorA As Color, _
	colorB As Color _
) As Brush
Visual C++
public:
static Brush^ Checkerboard(
	int n, 
	Color colorA, 
	Color colorB
)

Parameters

n
Type: System..::.Int32
An int that specifies the pattern size in pixels.
colorA
Type: System.Drawing..::.Color
A Color which specifies the first color in the checkerboard pattern.
colorB
Type: System.Drawing..::.Color
A Color which specifies the second color in the checkerboard pattern.

Return Value

A Brush containing the checkerboard pattern.

See Also