## GradientStopCollection class


Represents the gradient stop collection.

```cpp
class GradientStopCollection
```

## Methods

| Method | Description |
| --- | --- |
| [Add(double position, const CellsColor\& color, int32_t alpha)](./add/) | Add a gradient stop. |
| [Add(double position, const Aspose::Cells::Color\& color, int32_t alpha)](./add/) | Add a gradient stop. |
| [begin()](./begin/) | Returns an iterator to the beginning of the [GradientStopCollection](./). |
| [end()](./end/) | Returns an iterator to the end of the [GradientStopCollection](./). |
| [Get(int32_t index)](./get/) | Gets the gradient stop by the index. |
| [GetCount()](./getcount/) | Gets the number of elements contained in the instance. |
| [GradientStopCollection(GradientStopCollection_Impl* impl)](./gradientstopcollection/) | Constructs from an implementation object. |
| [GradientStopCollection(const GradientStopCollection\& src)](./gradientstopcollection/) | Copy constructor. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const GradientStopCollection\& src)](./operator_asm/) | operator= |
| [~GradientStopCollection()](./~gradientstopcollection/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells::Drawing](../)
* Library [Aspose.Cells for C++](../../)
