IGradientStopCollection
Vue de l’ensemble
‘IGradientStopCollection’ est une interface dans Aspose.Slides FOSS pour .NET.
Représente une collection d’arrêts de dégradé.
Cette interface fournit 8 méthodes pour travailler avec les objets IGradientStopCollection dans des programmes .NET. Les méthodologies disponibles comprennent: Add, Clear , Insert et RemoveAt. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l’Aspose.Slides FOSS pour le package .net. Propriétés : AsICollection ; Assienumerable; ‘Count’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<IGradientStop> | Read | Gets all gradient stops as a list. |
AsIEnumerable | IEnumerable<IGradientStop> | Read | Gets an enumerable view of the gradient stops. |
Count | int | Read | Gets the number of gradient stops in the collection. |
méthodes
| Signature | Description |
|---|---|
Add(position: float, color: Color) | Adds a gradient stop with the specified position and RGB color. |
Add(position: float, presetColor: PresetColor) | Adds a gradient stop with the specified position and preset color. |
Add(position: float, schemeColor: SchemeColor) | Adds a gradient stop with the specified position and scheme color. |
Insert(index: int, position: float, color: Color) | Inserts a gradient stop at the specified index with an RGB color. |
Insert(index: int, position: float, presetColor: PresetColor) | Inserts a gradient stop at the specified index with a preset color. |
Insert(index: int, position: float, schemeColor: SchemeColor) | Inserts a gradient stop at the specified index with a scheme color. |
RemoveAt(index: int) | Removes the gradient stop at the specified index. |
Clear() | Removes all gradient stops from the collection. |
Voir aussi
- Aspose.Slides - référence API d’entreprise