Help Center

LinearGradientModefunction

Specifies the direction in which the change of color occurs for a linear gradient brush.

Graphicsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Parameters

NameDescription
LinearGradientModeHorizontal0
LinearGradientModeVertical1
LinearGradientModeForwardDiagonal2
LinearGradientModeBackwardDiagonal3

Description

The LinearGradientMode enumeration specifies the direction in which the change of color occurs for a linear gradient brush.

Reference