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.
GradientStyleTypeintGets and sets gradient shading style. The value of the property is GradientStyleType integer constant.
VariantintGets and sets the gradient variant.

TwoColorGradient(color1, color2, gradientStyleType, variant)

ParameterTypeDescription
color1Color
color2Color
gradientStyleTypeintA GradientStyleType value.
variantint

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