Aspose::Cells::Drawing::GradientFill class
GradientFill class
Represents the gradient fill.
Methods
Method | Description |
---|
GetAngle() | The angle of linear fill. |
GetDirectionType() | Gets the gradient direction type. |
GetFillType() | Gets the gradient fill type. |
GetGradientStops() | Represents the gradient stop collection. |
GradientFill(GradientFill_Impl* impl) | Constructs from an implementation object. |
GradientFill(const Aspose::Cells::Drawing::GradientFill& src) | Copy constructor. |
IsNull() const | Checks whether the implementation object is nullptr. |
explicit operator bool() const | operator bool() |
operator=(const Aspose::Cells::Drawing::GradientFill& src) | operator= |
SetAngle(float value) | The angle of linear fill. |
SetGradient(GradientFillType type, double angle, GradientDirectionType direction) | Set the gradient fill type and direction. |
SetOneColorGradient(const Aspose::Cells::Color& color, double degree, GradientStyleType style, int32_t variant) | Sets the specified fill to a one-color gradient. Only applies for Excel 2007. |
SetPresetThemeGradient(PresetThemeGradientType gradientType, ThemeColorType themeColorType) | Sets preset theme gradient fill. |
SetTwoColorGradient(const Aspose::Cells::Color& color1, const Aspose::Cells::Color& color2, GradientStyleType style, int32_t variant) | Sets the specified fill to a two-color gradient. Only applies for Excel 2007. |
SetTwoColorGradient(const Aspose::Cells::Color& color1, double transparency1, const Aspose::Cells::Color& color2, double transparency2, GradientStyleType style, int32_t variant) | Sets the specified fill to a two-color gradient. Only applies for Excel 2007. |
~GradientFill() | Destructor. |
Fields
Field | Description |
---|
_impl | The implementation object. |
See Also