Aspose::Words::Drawing::GradientStop class

GradientStop class

Represents one gradient stop. To learn more, visit the Working with Graphic Elements documentation article.

class GradientStop : public System::Object

Methods

MethodDescription
get_BaseColor()Gets a value representing the color of the gradient stop without any modifiers.
get_Color()Gets or sets a value representing the color of the gradient stop.
get_Position() constGets or sets a value representing the position of a stop within the gradient expressed as a percent in range 0.0 to 1.0.
get_Transparency() constGets or sets a value representing the transparency of the gradient fill expressed as a percent in range 0.0 to 1.0.
GetType() const override
GradientStop(System::Drawing::Color, double)Initializes a new instance of the GradientStop class.
GradientStop(System::Drawing::Color, double, double)Initializes a new instance of the GradientStop class.
Is(const System::TypeInfo&) const override
Remove()Removes the gradient stop from the parent GradientStopCollection.
set_Color(System::Drawing::Color)Setter for Aspose::Words::Drawing::GradientStop::get_Color.
set_Position(double)Setter for Aspose::Words::Drawing::GradientStop::get_Position.
set_Transparency(double)Setter for Aspose::Words::Drawing::GradientStop::get_Transparency.
static Type()

See Also