GradientStopCollection
Overview
GradientStopCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: PVIObject, ISlideComponent, IPresentationComponent.
Represnts a collection of gradient stops.
This class provides 4 methods for working with GradientStopCollection objects in Python programs.
Available methods include: add, clear, insert, remove_at.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_collection, as_i_enumerable, as_i_presentation_component, presentation, slide.
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. |
as_i_presentation_component | IPresentationComponent | Read | Allows to get base IPresentationComponent interface. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
add() → IGradientStop | Adds a new gradient stop and returns an IGradientStop instance |
insert() | Inserts a gradient stop into the collection |
remove_at(index) | Removes the gradient stop at the given index |
clear() | Removes all gradient stops from the collection |