IMSL C# Numerical Library

FillPaint.Crosshatch Method 

Returns a crosshatch pattern.

public static Brush Crosshatch(
   int n,
   int p,
   Color colorBackground,
   Color colorLine
);

Parameters

n
An int that specifies the pattern size in pixels.
p
An int which specifies the number of pixels between the crosshatched lines.
colorBackground
A Color which specifies the background color.
colorLine
A Color which specifies the color of the line.

Return Value

A Brush containing the pattern.

See Also

FillPaint Class | Imsl.Chart2D Namespace