IGradientStopCollection

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

NameTypeAccessDescription
as_i_collectionlistReadGets the as i collection.
as_i_enumerableAnyReadGets the as i enumerable.

Methods

SignatureDescription
add(position, color) → IGradientStopAdds a gradient stop at the given position using a Color object and returns it
add(position, preset_color) → IGradientStopCalls add(position, preset_color) on this IGradientStopCollection instance.
add(position, scheme_color) → IGradientStopCalls 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) → IGradientStopCalls getitem(index) on this IGradientStopCollection instance.

See Also

 English