SpecialEffectsGradientStyle Enumeration
Summary
The gradient direction (one color transitioning to another). The gradientStyle parameter of the GradientFillRectangle method uses this enumeration.
Syntax
public enum SpecialEffectsGradientStyle
public enum class SpecialEffectsGradientStyle : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
class SpecialEffectsGradientStyle(Enum):
LineLToR = 1000
LineLToR = 1000
LineRToL = 1001
LineTToB = 1002
LineBToT = 1003
LineLTToRB = 1004
LineLBToRT = 1005
LineRTToLB = 1006
LineRBToLT = 1007
Line2LAndRToC = 1008
Line2CToLAndR = 1009
Line2TAndBToC = 1010
Line2CToTAndB = 1011
Line2LTAndRBToC = 1012
Line2CToLTAndRB = 1013
Line2RTAndLBToC = 1014
Line2CToRTAndLB = 1015
Line2CToRTAndLB = 1015
AngleToLT = 2000
AngleToLT = 2000
AngleToLB = 2001
AngleToRT = 2002
AngleToRB = 2003
AngleFromLT = 2004
AngleFromLB = 2005
AngleFromRT = 2006
AngleFromRB = 2007
AngleFromRB = 2007
RectangleClass = 3000
RectangleClass = 3000
RectangleMax = 3001
RectangleMax = 3001
EllipseClass = 4000
EllipseClass = 4000
EllipseFromC = 4001
EllipseFromC = 4001
ConeFromL = 5000
ConeFromL = 5000
ConeFromR = 5001
ConeFromT = 5002
ConeFromB = 5003
ConeFromLT = 5004
ConeFromLB = 5005
ConeFromRT = 5006
ConeFromRB = 5007
ConeFromRB = 5007
Members
| Value | Member | Description |
| 1000 | LineClass | Linear class |
| 1000 | LineLToR | Line left to right |
| 1001 | LineRToL | Line right to left |
| 1002 | LineTToB | Line top to bottom |
| 1003 | LineBToT | Line bottom to top |
| 1004 | LineLTToRB | Line left-top to right-bottom |
| 1005 | LineLBToRT | Line left-bottom to right-top |
| 1006 | LineRTToLB | Line right-top to left-bottom |
| 1007 | LineRBToLT | Line right-bottom to left-top |
| 1008 | Line2LAndRToC | Line2 left and right to center |
| 1009 | Line2CToLAndR | Line2 center to left and right |
| 1010 | Line2TAndBToC | Line2 top and bottom to center |
| 1011 | Line2CToTAndB | Line2 center to top and bottom |
| 1012 | Line2LTAndRBToC | Line2 left-top and right-bottom |
| 1013 | Line2CToLTAndRB | Line2 center to left-top and rig |
| 1014 | Line2RTAndLBToC | Line2 right-top and left-bottom |
| 1015 | LineMax | Number of gradients in this class. |
| 1015 | Line2CToRTAndLB | Line2 center to right-top and left-bottom |
| 2000 | AngleClass | Angular class |
| 2000 | AngleToLT | Angle to left-top |
| 2001 | AngleToLB | Angle to left-bottom |
| 2002 | AngleToRT | Angle to right-top |
| 2003 | AngleToRB | Angle to right-bottom |
| 2004 | AngleFromLT | Angle from left-top |
| 2005 | AngleFromLB | Angle from left-bottom |
| 2006 | AngleFromRT | Angle from right-top |
| 2007 | AngleFromRB | Angle from right-bottom |
| 2007 | AngleMax | Number of gradients in this class. |
| 3000 | RectangleClass | Rectangular class |
| 3000 | RectangleToC | Rectangle to center |
| 3001 | RectangleMax | Number of gradients in this class. |
| 3001 | RectangleFromC | Rectangle from center |
| 4000 | EllipseClass | Elliptical class |
| 4000 | EllipseToC | Ellipse to center |
| 4001 | EllipseFromC | Ellipse from center |
| 4001 | EllipseMax | Number of gradients in this class. |
| 5000 | ConeFromL | Cone from left |
| 5000 | ConeClass | Conical class |
| 5001 | ConeFromR | Cone from right |
| 5002 | ConeFromT | Cone from top |
| 5003 | ConeFromB | Cone from bottom |
| 5004 | ConeFromLT | Cone from left-top |
| 5005 | ConeFromLB | Cone from left-bottom |
| 5006 | ConeFromRT | Cone from right-top |
| 5007 | ConeMax | Number of gradients in this class. |
| 5007 | ConeFromRB | Cone from right-bottom |