Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The LinearGradientMode enumeration specifies the direction in which the change of color occurs for a linear gradient brush.
Syntax
typedef enum LinearGradientMode {
LinearGradientModeHorizontal,
LinearGradientModeVertical,
LinearGradientModeForwardDiagonal,
LinearGradientModeBackwardDiagonal
} ;
Constants
LinearGradientModeHorizontalSpecifies the color to change in a horizontal direction from the left of the display to the right of the display. |
LinearGradientModeVerticalSpecifies the color to change in a vertical direction from the top of the display to the bottom of the display. |
LinearGradientModeForwardDiagonalSpecifies the color to change in a forward diagonal direction from the upper-left corner to the lower-right corner of the display. |
LinearGradientModeBackwardDiagonalSpecifies the color to change in a backward diagonal direction from the upper-right corner to the lower-left corner of the display. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | gdiplusenums.h (include Gdiplus.h) |