Returns a diamond pattern (a checkerboard rotated 45 degrees).
Namespace:
Imsl.Chart2D
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static Brush Diamond( int n, int p, Color colorBackground, Color colorLine ) |
Visual Basic (Declaration) |
---|
Public Shared Function Diamond ( _ n As Integer, _ p As Integer, _ colorBackground As Color, _ colorLine As Color _ ) As Brush |
Visual C++ |
---|
public: static Brush^ Diamond( int n, int p, Color colorBackground, Color colorLine ) |
Parameters
- n
- Type: System..::.Int32
An int that specifies the pattern size in pixels.
- p
- Type: System..::.Int32
An int which specifies the line thickness.
- colorBackground
- Type: System.Drawing..::.Color
A Color which specifies the background color.
- colorLine
- Type: System.Drawing..::.Color
A Color which specifies the color of the line.