FillPaintDiamondHatch Method |
Returns a crosshatch pattern on a 45 degree angle.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static Brush DiamondHatch(
int n,
int p,
Color colorBackground,
Color colorLine
)
Public Shared Function DiamondHatch (
n As Integer,
p As Integer,
colorBackground As Color,
colorLine As Color
) As Brush
public:
static Brush^ DiamondHatch(
int n,
int p,
Color colorBackground,
Color colorLine
)
static member DiamondHatch :
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 number of pixels between the
crosshatched lines.
- 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 pattern.
See Also