IMSL C# Numerical Library

FillPaint.Checkerboard Method 

Returns a checkerboard pattern.

public static Brush Checkerboard(
   int n,
   Color colorA,
   Color colorB
);

Parameters

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

Return Value

A Brush containing the checkerboard pattern.

See Also

FillPaint Class | Imsl.Chart2D Namespace