GradientStopCollection

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

NameTypeAccessDescription
as_i_collectionlistReadGets the as i collection.
as_i_enumerableAnyReadGets the as i enumerable.
as_i_presentation_componentIPresentationComponentReadAllows to get base IPresentationComponent interface.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
add()IGradientStopAdds 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

See Also