IGradientStopCollection

IGradientStopCollection

Overview

IGradientStopCollection is a interface in Aspose.Slides FOSS for .NET.

Represents a collection of gradient stops.

Properties

NameTypeAccessDescription
AsICollectionIList<IGradientStop>ReadProvides the stops as an IList of IGradientStop
AsIEnumerableIEnumerable<IGradientStop>ReadProvides the stops as an IEnumerable of IGradientStop
CountintRead

Methods

SignatureDescription
Add(position: float, color: Color)The newly created gradient stop.
Add(position: float, presetColor: PresetColor)The newly created gradient stop.
Add(position: float, schemeColor: SchemeColor)The newly created gradient stop.
Insert(index: int, position: float, color: Color)The RGB color.
Insert(index: int, position: float, presetColor: PresetColor)The preset color.
Insert(index: int, position: float, schemeColor: SchemeColor)The scheme color.
RemoveAt(index: int)The zero-based index of the stop to remove.
Clear()

See Also