Compartilhar via


GRADIENT_RECT (Windows CE 5.0)

Send Feedback

This structure specifies the index of two vertices in the pVertex array in the GradientFill function.

These two vertices form the upper left and lower right boundaries of a rectangle.

typedef struct _GRADIENT_RECT {  ULONG UpperLeft;  ULONG LowerRight;}GRADIENT_RECT, *PGRADIENT_RECT;

Members

  • UpperLeft
    Specifies the upper-left corner of a rectangle.
  • LowerRight
    Specifies the lower-right corner of a rectangle.

Remarks

The GRADIENT_RECT structure specifies the values of the pVertex array that are used when the dwMode parameter of the GradientFill function is GRADIENT_FILL_RECT_H or GRADIENT_FILL_RECT_V.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Windows.h.

See Also

GradientFill | TRIVERTEX | GDI Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.