TwoColorGradient

TwoColorGradient class

Represents two color gradient.

Constructors

NameDescription
TwoColorGradient

Properties

NameTypeDescription
Color1ColorGets and sets the first gradient color.
Color2ColorGets and sets the second gradient color.
GradientStyleTypeNumberGets and sets gradient shading style. The value of the property is GradientStyleType integer constant.
VariantNumberGets and sets the gradient variant.

TwoColorGradient(color1, color2, gradientStyleType, variant)

ParameterTypeDescription
color1Color
color2Color
gradientStyleTypeNumberA GradientStyleType value.
variantNumber

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: Number

TwoColorGradient.Variant property

Gets and sets the gradient variant.

Type: Number