IMSL C# Numerical Library

FillPaint.Diagonal Method 

Returns a diagonal pattern.

public static Brush Diagonal(
   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 diagonal pattern.
colorB
A Color which specifies the second color in the diagonal pattern.

Return Value

A Brush containing the diagonal pattern.

See Also

FillPaint Class | Imsl.Chart2D Namespace