PAINTSHAPEGRADIENTSTYLE

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; 

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.

Value Meaning
PAINT_SHAPE_GRADIENT_STYLE_NONE No gradient.
PAINT_SHAPE_GRADIENT_STYLE_LINE_L_TO_R Linear gradient from left to right.
PAINT_SHAPE_GRADIENT_STYLE_LINE_R_TO_L Linear gradient from right to left.
PAINT_SHAPE_GRADIENT_STYLE_LINETTO_B Linear gradient from top to bottom.
PAINT_SHAPE_GRADIENT_STYLE_LINE_B_TO_T Linear gradient from bottom to top.
PAINT_SHAPE_GRADIENT_STYLE_LINE_LT_TO_RB Linear gradient from left, top to right, bottom.
PAINT_SHAPE_GRADIENT_STYLE_LINE_LB_TO_RT Linear gradient from left, bottom to right, top.
PAINT_SHAPE_GRADIENT_STYLE_LINE_RT_TO_LB Linear gradient from right, top to left, bottom.
PAINT_SHAPE_GRADIENT_STYLE_LINE_RB_TO_LT Linear gradient from right, bottom to left, top.
PAINT_SHAPE_GRADIENT_STYLE_LINE2_L_AND_R_TO_C Linear gradient from left and right to the center.
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TO_L_AND_R Linear gradient from the center to the left and right.
PAINT_SHAPE_GRADIENT_STYLE_LINE2TAND_B_TO_C Linear gradient from top and bottom to the center.
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TOTAND_B Linear gradient from the center to the top and bottom.
PAINT_SHAPE_GRADIENT_STYLE_LINE2_LT_AND_RB_TO_C Linear gradient from left, top and right, bottom to the center.
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TO_LT_AND_RB Linear gradient from the center to the left, top and right, bottom.
PAINT_SHAPE_GRADIENT_STYLE_LINE2_RT_AND_LB_TO_C Linear gradient from right, top and left, bottom to the center.
PAINT_SHAPE_GRADIENT_STYLE_LINE2_C_TO_RT_AND_LB Linear gradient from the center to the right, top and left bottom.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_LT Angular gradient to left, top.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_LB Angular gradient to left, bottom.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_RT Angular gradient to right, top.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_TO_RB Angular gradient to right, bottom.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_LT Angular gradient from left, top.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_LB Angular gradient from left, bottom.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_RT Angular gradient from right, top.
PAINT_SHAPE_GRADIENT_STYLE_ANGLE_FROM_RB Angular gradient from right, bottom.
PAINT_SHAPE_GRADIENT_STYLE_RECTANGLE_TO_C Rectangular gradient to the center.
PAINT_SHAPE_GRADIENT_STYLE_RECTANGLE_FROM_C Rectangular gradient from the center.
PAINT_SHAPE_GRADIENT_STYLE_ELLIPSE_TO_C Elliptical gradient to the center.
PAINT_SHAPE_GRADIENT_STYLE_ELLIPSE_FROM_C Elliptical gradient from the center.
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_L Conical gradient from the left.
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_R Conical gradient from the right.
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_T Conical gradient from the top.
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_B Conical gradient from the bottom.
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_LT Conical gradient from the left, top.
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_LB Conical gradient from the left, bottom
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_RT Conical gradient from the right.
PAINT_SHAPE_GRADIENT_STYLE_CONE_FROM_RB Conical gradient from the right, bottom.
Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Digital Paint C API Help