TwoColorGradient
Contents
[
Hide
]TwoColorGradient class
Represents two color gradient.
class TwoColorGradient;
Constructors
| Name | Description | 
|---|---|
| constructor(Color, Color, GradientStyleType, number) | 
Properties
| Property | Type | Description | 
|---|---|---|
| color1 | Color | Gets and sets the first gradient color. | 
| color2 | Color | Gets and sets the second gradient color. | 
| gradientStyleType | GradientStyleType | Gets and sets gradient shading style. | 
| variant | number | Gets and sets the gradient variant. | 
constructor(Color, Color, GradientStyleType, number)
constructor(color1: Color, color2: Color, gradientStyleType: GradientStyleType, variant: number);
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| color1 | Color | |
| color2 | Color | |
| gradientStyleType | GradientStyleType | |
| variant | number | 
color1
Gets and sets the first gradient color.
color1 : Color;
color2
Gets and sets the second gradient color.
color2 : Color;
gradientStyleType
Gets and sets gradient shading style.
gradientStyleType : GradientStyleType;
variant
Gets and sets the gradient variant.
variant : number;