IGradientStopCollection
Overview
IGradientStopCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: ABC.
Represnts a collection of gradient stops.
This class declares 9 methods for IGradientStopCollection objects in Python programs.
Available methods include: __getitem__, add, clear, insert, remove_at.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_collection, as_i_enumerable.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | Gets the as i collection. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
Methods
| Signature | Description |
|---|---|
add(position, color) → IGradientStop | Adds a gradient stop at the given position using a Color object and returns it |
add(position, preset_color) → IGradientStop | Calls add(position, preset_color) on this IGradientStopCollection instance. |
add(position, scheme_color) → IGradientStop | Calls add(position, scheme_color) on this IGradientStopCollection instance. |
insert(index, position, color) | Inserts a gradient stop at the specified index with a Color at the given position |
insert(index, position, preset_color) | Calls insert(index, position, preset_color) on this IGradientStopCollection instance. |
insert(index, position, scheme_color) | Calls insert(index, position, scheme_color) on this IGradientStopCollection instance. |
remove_at(index) | Calls remove_at(index) on this IGradientStopCollection instance. |
clear() | Calls clear on this IGradientStopCollection instance. |
__getitem__(index: int) → IGradientStop | Calls getitem(index) on this IGradientStopCollection instance. |