Class GradientStopCollection

Class GradientStopCollection

Namespace: Aspose.Cells.Drawing
Assembly: Aspose.Cells.dll (25.2.0)

Represents the gradient stop collection.

public class GradientStopCollection : CollectionBase<gradientstop>, IList<gradientstop>, ICollection<gradientstop>, IEnumerable<gradientstop>, ICollection, IEnumerable

Inheritance

objectCollectionBase<gradientstop>GradientStopCollection

Implements

IList<gradientstop>, ICollection<gradientstop>, IEnumerable<gradientstop>, ICollection, IEnumerable

Inherited Members

CollectionBase<gradientstop>.BinarySearch(GradientStop), CollectionBase<gradientstop>.BinarySearch(GradientStop, IComparer<gradientstop>), CollectionBase<gradientstop>.BinarySearch(int, int, GradientStop, IComparer<gradientstop>), CollectionBase<gradientstop>.Contains(GradientStop), CollectionBase<gradientstop>.CopyTo(GradientStop[]), CollectionBase<gradientstop>.CopyTo(GradientStop[], int), CollectionBase<gradientstop>.CopyTo(int, GradientStop[], int, int), CollectionBase<gradientstop>.Exists(Predicate<gradientstop>), CollectionBase<gradientstop>.Find(Predicate<gradientstop>), CollectionBase<gradientstop>.FindAll(Predicate<gradientstop>), CollectionBase<gradientstop>.FindIndex(Predicate<gradientstop>), CollectionBase<gradientstop>.FindIndex(int, Predicate<gradientstop>), CollectionBase<gradientstop>.FindIndex(int, int, Predicate<gradientstop>), CollectionBase<gradientstop>.FindLast(Predicate<gradientstop>), CollectionBase<gradientstop>.FindLastIndex(Predicate<gradientstop>), CollectionBase<gradientstop>.FindLastIndex(int, Predicate<gradientstop>), CollectionBase<gradientstop>.FindLastIndex(int, int, Predicate<gradientstop>), CollectionBase<gradientstop>.IndexOf(GradientStop), CollectionBase<gradientstop>.IndexOf(GradientStop, int), CollectionBase<gradientstop>.IndexOf(GradientStop, int, int), CollectionBase<gradientstop>.LastIndexOf(GradientStop), CollectionBase<gradientstop>.LastIndexOf(GradientStop, int), CollectionBase<gradientstop>.LastIndexOf(GradientStop, int, int), CollectionBase<gradientstop>.GetEnumerator(), CollectionBase<gradientstop>.Clear(), CollectionBase<gradientstop>.RemoveAt(int), CollectionBase<gradientstop>.OnClearComplete(), CollectionBase<gradientstop>.OnClear(), CollectionBase<gradientstop>.Capacity, CollectionBase<gradientstop>.Count, CollectionBase<gradientstop>.InnerList, CollectionBase<gradientstop>.this[int], object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

this[int]

Gets the gradient stop by the index.

public GradientStop this[int index] { get; set; }

Property Value

GradientStop

Methods

Add(double, CellsColor, int)

Add a gradient stop.

public void Add(double position, CellsColor color, int alpha)

Parameters

position double

The position of the stop,in unit of percentage.

color CellsColor

The color of the stop.

alpha int

The alpha of the color.

Add(double, Color, int)

Add a gradient stop.

public void Add(double position, Color color, int alpha)

Parameters

position double

The position of the stop,in unit of percentage.

color Color

The color of the stop.

alpha int

The alpha of the color. </gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop></gradientstop>