Effect Gradient Styles

The following are possible values for the L_EfxGradientFillRect function's uStyle parameter, which specifies the gradient direction (transitioning from one color to another):

Value Meaning
Linear gradient class:
EFX_GRADIENT_LINE_L_TO_R Line left to right
EFX_GRADIENT_LINE_R_TO_L Line right to left
EFX_GRADIENT_LINETTO_B Line top to bottom
EFX_GRADIENT_LINE_B_TO_T Line bottom to top
EFX_GRADIENT_LINE_LT_TO_RB Line left-top to right-bottom
EFX_GRADIENT_LINE_LB_TO_RT Line left-bottom to right-top
EFX_GRADIENT_LINE_RT_TO_LB Line right-top to left-bottom
EFX_GRADIENT_LINE_RB_TO_LT Line right-bottom to left-top
EFX_GRADIENT_LINE2_L_AND_R_TO_C Line2 left and right to center
EFX_GRADIENT_LINE2_C_TO_L_AND_R Line2 center to left and right
EFX_GRADIENT_LINE2TAND_B_TO_C Line2 top and bottom to center
EFX_GRADIENT_LINE2_C_TOTAND_B Line2 center to top and bottom
EFX_GRADIENT_LINE2_LT_AND_RB_TO_C Line2 left-top and right-bottom to center
EFX_GRADIENT_LINE2_C_TO_LT_AND_RB Line2 center to left-top and right-bottom
EFX_GRADIENT_LINE2_RT_AND_LB_TO_C Line2 right-top and left-bottom to center
EFX_GRADIENT_LINE2_C_TO_RT_AND_LB Line2 center to right-top and left-bottom
EFX_GRADIENT_LINE_MAX Number of gradients in this class.
Angular gradient class:
EFX_GRADIENT_ANGLE_TO_LT Angle to left-top
EFX_GRADIENT_ANGLE_TO_LB Angle to left-bottom
EFX_GRADIENT_ANGLE_TO_RT Angle to right-top
EFX_GRADIENT_ANGLE_TO_RB Angle to right-bottom
EFX_GRADIENT_ANGLE_FROM_LT Angle from left-top
EFX_GRADIENT_ANGLE_FROM_LB Angle from left-bottom
EFX_GRADIENT_ANGLE_FROM_RT Angle from right-top
EFX_GRADIENT_ANGLE_FROM_RB Angle from right-bottom
EFX_GRADIENT_ANGLE_MAX Number of gradients in this class.
Rectangular gradient class:
EFX_GRADIENT_RECTANGLE_TO_C Rectangle to center
EFX_GRADIENT_RECTANGLE_FROM_C Rectangle from center
EFX_GRADIENT_RECTANGLE_MAX Number of gradients in this class.
Elliptical gradient class:
EFX_GRADIENT_ELLIPSE_TO_C Ellipse to center
EFX_GRADIENT_ELLIPSE_FROM_C Ellipse from center
EFX_GRADIENT_ELLIPSE_MAX Number of gradients in this class.
Conical gradient class:
EFX_GRADIENT_CONE_FROM_L Cone from left
EFX_GRADIENT_CONE_FROM_R Cone from right
EFX_GRADIENT_CONE_FROM_T Cone from top
EFX_GRADIENT_CONE_FROM_B Cone from bottom
EFX_GRADIENT_CONE_FROM_LT Cone from left-top
EFX_GRADIENT_CONE_FROM_LB Cone from left-bottom
EFX_GRADIENT_CONE_FROM_RT Cone from right-top
EFX_GRADIENT_CONE_FROM_RB Cone from right-bottom
EFX_GRADIENT_CONE_MAX Number of gradients in this class.
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.