Returns a diagonal pattern.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static Brush Diagonal(
int n,
Color colorA,
Color colorB
)
Public Shared Function Diagonal (
n As Integer,
colorA As Color,
colorB As Color
) As Brush
public:
static Brush^ Diagonal(
int n,
Color colorA,
Color colorB
)
static member Diagonal :
n : int *
colorA : Color *
colorB : Color -> Brush
Parameters
- n
- Type: SystemInt32
An int that specifies the pattern size in pixels.
- colorA
- Type: System.DrawingColor
A Color which specifies the first color in the diagonal
pattern.
- colorB
- Type: System.DrawingColor
A Color which specifies the second color in the diagonal
pattern.
Return Value
Type:
Brush
A
Brush containing the diagonal pattern.
See Also