The PAINTSHAPEGRADIENTSTYLE enumerated type contains options for the gradient background style of a shape. These are the possible values for the nGradientStyle member of the PAINTSHAPE structure.
typedef enum
{
PAINT_SHAPE_GRADIENT_STYLE_NONE,
PAINT_SHAPE_GRADIENT_STYLE_LINE_L_TO_R = 1000,
PAINT_SHAPE_GRADIENT_STYLE_LINE_R_TO_L = 1001,
PAINT_SHAPE_GRADIENT_STYLE_LINE_T_TO_B = 1002,
PAINT_SHAPE_GRADIENT_STYLE_LINE_B_TO_T = 1003,
PAINT_SHAPE_GRADIENT_STYLE_LINE_LT_TO_RB = 1004,
PAINT_SHAPE_GRADIENT_STYLE_LINE_LB_TO_RT = 1005,
PAINT_SHAPE_GRADIENT_STYLE_LINE_RT_TO_LB = 1006,
PAINT_SHAPE_GRADIENT_STYLE_LINE_RB_TO_LT = 1007,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_L_AND_R_TO_C = 1008,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TO_L_AND_R = 1009,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_T_AND_B_TO_C = 1010,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TO_T_AND_B = 1011,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_LT_AND_RB_TO_C = 1012,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TO_LT_AND_RB = 1013,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_RT_AND_LB_TO_C = 1014,
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TO_RT_AND_LB = 1015,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_LT = 2000,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_LB = 2001,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_RT = 2002,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_RB = 2003,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_LT = 2004,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_LB = 2005,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_RT = 2006,
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_RB = 2007,
PAINT_SHAPE_GRADIENT_STYLE_RECTANGLE_TO_C = 3000,
PAINT_SHAPE_GRADIENT_STYLE_RECTANGLE_FROM_C = 3001,
PAINT_SHAPE_GRADIENT_STYLE_ELLIPSE_TO_C = 4000,
PAINT_SHAPE_GRADIENT_STYLE_ELLIPSE_FROM_C = 4001,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_L = 5000,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_R = 5001,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_T = 5002,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_B = 5003,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_LT = 5004,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_LB = 5005,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_RT = 5006,
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_RB = 5007,
} PAINTSHAPEGRADIENTSTYLE, *pPAINTSHAPEGRADIENTSTYLE;
No gradient.
Linear gradient from left to right.
Linear gradient from right to left.
Linear gradient from top to bottom.
Linear gradient from bottom to top.
Linear gradient from left, top to right, bottom.
Linear gradient from left, bottom to right, top.
Linear gradient from right, top to left, bottom.
Linear gradient from right, bottom to left, top.
Linear gradient from left and right to the center.
Linear gradient from the center to the left and right.
Linear gradient from top and bottom to the center.
Linear gradient from the center to the top and bottom.
Linear gradient from left, top and right, bottom to the center.
Linear gradient from the center to the left, top and right, bottom.
Linear gradient from right, top and left, bottom to the center.
Linear gradient from the center to the right, top and left bottom.
Angular gradient to left, top.
Angular gradient to left, bottom.
Angular gradient to right, top.
Angular gradient to right, bottom.
Angular gradient from left, top.
Angular gradient from left, bottom.
Angular gradient from right, top.
Angular gradient from right, bottom.
Rectangular gradient to the center.
Rectangular gradient from the center.
Elliptical gradient to the center.
Elliptical gradient from the center.
Conical gradient from the left.
Conical gradient from the right.
Conical gradient from the top.
Conical gradient from the bottom.
Conical gradient from the left, top.
Conical gradient from the left, bottom.
Conical gradient from the right.
Conical gradient from the right, bottom.