Click or drag to resize
FillPaintDiamond Method
Returns a diamond pattern (a checkerboard rotated 45 degrees).

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static Brush Diamond(
	int n,
	int p,
	Color colorBackground,
	Color colorLine
)

Parameters

n
Type: SystemInt32
An int that specifies the pattern size in pixels.
p
Type: SystemInt32
An int which specifies the line thickness.
colorBackground
Type: System.DrawingColor
A Color which specifies the background color.
colorLine
Type: System.DrawingColor
A Color which specifies the color of the line.

Return Value

Type: Brush
A Brush containing the diamond pattern.
See Also