GradientStop

Overview

GradientStop is a class in Aspose.Slides FOSS for C++.

Represents a gradient stop within a gradient fill. A gradient stop defines a color at a specific position (0.0 to 1.0) within a gradient fill.

This class provides 11 methods for working with GradientStop objects in C++ programs. Available methods include: GradientStop, SimpleColorFormat, color, init_internal, position, save, set_position. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Properties: SimpleColorFormat.

Properties

NameTypeAccessDescription
SimpleColorFormatSimpleColorFormatReadGets the simple color format.

Methods

SignatureDescription
SimpleColorFormat()SimpleColorFormatProperty provides access to the stop’s SimpleColorFormat
SimpleColorFormat()SimpleColorFormat
GradientStop()
GradientStop(position: float)
GradientStop(position: float, color: Drawing::Color)
init_internal(gs_element: pugi::xml_node, save_callback: std::function<void()>)Initialize from an XML \ element.
save()Persist changes via the save callback.
position()floatRepresents a gradient stop within a gradient fill.
set_position(value: float)Sets the position of the gradient stop (0.0 to 1.0).
color()SimpleColorFormatReturns the color format for this gradient stop.
color()SimpleColorFormatReturns the color format for this gradient stop.

See Also