Namespace TallComponents.PDF.Brushes
Class ColorStopCollection
The ColorStopCollection class lets you define multiple color stops for a gradient brush.
Syntax
public class ColorStopCollection
: Object
,
IEnumerable<ColorStop>
Constructors
Properties
Int32 Count
Number of color stops in this collection.
ColorStop Item
The ColorStop on the given position
Methods
Void Add(ColorStop)
Add a color stop to this collection.
Boolean Contains(ColorStop)
Determine whether an ColorStop is in the ColorStopCollection.
IEnumerator<ColorStop> GetEnumerator()
Implements strong typed IEnumerable<T>.GetEnumerator.
Int32 IndexOf(ColorStop)
Searches for the specified ColorStop in the ColorStopCollection.