GradientStopCollection
Vue de l’ensemble
‘GradientStopCollection’ est une classe dans Aspose.Slides FOSS pour Python.Déduit de: PVIObject, ISlideComponent et IPresentationComposant.
Il représente une collection de stops gradients.
Cette classe fournit 4 méthodes pour travailler avec les objets GradientStopCollection dans les programmes Python. Les méthodologies disponibles comprennent: add, clear , insert et remove_at. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Slides FOSS pour le package PyThone. Propriétés : as_i_collection ; a_is_enumerable; a_ i_presentation_component .
Propriétés
| 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. |
méthodes
| 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 |
Voir aussi
- Aspose.Slides - référence API d’entreprise