TwoColorGradient
Contents
[
Hide
]TwoColorGradient class
Represents two color gradient.
Constructors
| Name | Description |
|---|---|
| TwoColorGradient |
Properties
| Name | Type | Description |
|---|---|---|
| Color1 | Color | Gets and sets the first gradient color. |
| Color2 | Color | Gets and sets the second gradient color. |
| GradientStyleType | int | Gets and sets gradient shading style. The value of the property is GradientStyleType integer constant. |
| Variant | int | Gets and sets the gradient variant. |
TwoColorGradient(color1, color2, gradientStyleType, variant)
| Parameter | Type | Description |
|---|---|---|
| color1 | Color | |
| color2 | Color | |
| gradientStyleType | int | A GradientStyleType value. |
| variant | int |
TwoColorGradient.Color1 property
Gets and sets the first gradient color.
Type: Color
TwoColorGradient.Color2 property
Gets and sets the second gradient color.
Type: Color
TwoColorGradient.GradientStyleType property
Gets and sets gradient shading style. The value of the property is GradientStyleType integer constant.
Type: int
TwoColorGradient.Variant property
Gets and sets the gradient variant.
Type: int