Aspose::Cells::TwoColorGradient class

TwoColorGradient class

Represents two color gradient.

class TwoColorGradient

Methods

MethodDescription
GetColor1()Gets and sets the first gradient color.
GetColor2()Gets and sets the second gradient color.
GetGradientStyleType()Gets and sets gradient shading style.
GetVariant()Gets and sets the gradient variant.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const TwoColorGradient& src)operator=
SetColor1(const Aspose::Cells::Color& value)Gets and sets the first gradient color.
SetColor2(const Aspose::Cells::Color& value)Gets and sets the second gradient color.
SetGradientStyleType(GradientStyleType value)Gets and sets gradient shading style.
SetVariant(int32_t value)Gets and sets the gradient variant.
TwoColorGradient(const Aspose::Cells::Color& color1, const Aspose::Cells::Color& color2, GradientStyleType gradientStyleType, int32_t variant)
TwoColorGradient(TwoColorGradient_Impl* impl)Constructs from an implementation object.
TwoColorGradient(const TwoColorGradient& src)Copy constructor.
~TwoColorGradient()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also