Returns a diamond pattern (a checkerboard rotated 45 degrees).
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static Brush Diamond(
int n,
int p,
Color colorBackground,
Color colorLine
)
Public Shared Function Diamond (
n As Integer,
p As Integer,
colorBackground As Color,
colorLine As Color
) As Brush
public:
static Brush^ Diamond(
int n,
int p,
Color colorBackground,
Color colorLine
)
static member Diamond :
n : int *
p : int *
colorBackground : Color *
colorLine : Color -> Brush
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