• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class GradientStopCollection

A typed collection of GradientStop objects on a GradientFill. Inherits all List<T> operations and adds Add(decimal, DrawingColor) (create new stop) convenience method.

Inheritance
object
List<GradientStop>
GradientStopCollection
Implements
IList<GradientStop>
ICollection<GradientStop>
IList
ICollection
IReadOnlyList<GradientStop>
IReadOnlyCollection<GradientStop>
IEnumerable<GradientStop>
IEnumerable
Inherited Members
List<GradientStop>.Add(GradientStop)
List<GradientStop>.AddRange(IEnumerable<GradientStop>)
List<GradientStop>.AsReadOnly()
List<GradientStop>.BinarySearch(int, int, GradientStop, IComparer<GradientStop>)
List<GradientStop>.BinarySearch(GradientStop)
List<GradientStop>.BinarySearch(GradientStop, IComparer<GradientStop>)
List<GradientStop>.Clear()
List<GradientStop>.Contains(GradientStop)
List<GradientStop>.ConvertAll<TOutput>(Converter<GradientStop, TOutput>)
List<GradientStop>.CopyTo(GradientStop[])
List<GradientStop>.CopyTo(int, GradientStop[], int, int)
List<GradientStop>.CopyTo(GradientStop[], int)
List<GradientStop>.Exists(Predicate<GradientStop>)
List<GradientStop>.Find(Predicate<GradientStop>)
List<GradientStop>.FindAll(Predicate<GradientStop>)
List<GradientStop>.FindIndex(Predicate<GradientStop>)
List<GradientStop>.FindIndex(int, Predicate<GradientStop>)
List<GradientStop>.FindIndex(int, int, Predicate<GradientStop>)
List<GradientStop>.FindLast(Predicate<GradientStop>)
List<GradientStop>.FindLastIndex(Predicate<GradientStop>)
List<GradientStop>.FindLastIndex(int, Predicate<GradientStop>)
List<GradientStop>.FindLastIndex(int, int, Predicate<GradientStop>)
List<GradientStop>.ForEach(Action<GradientStop>)
List<GradientStop>.GetEnumerator()
List<GradientStop>.GetRange(int, int)
List<GradientStop>.IndexOf(GradientStop)
List<GradientStop>.IndexOf(GradientStop, int)
List<GradientStop>.IndexOf(GradientStop, int, int)
List<GradientStop>.Insert(int, GradientStop)
List<GradientStop>.InsertRange(int, IEnumerable<GradientStop>)
List<GradientStop>.LastIndexOf(GradientStop)
List<GradientStop>.LastIndexOf(GradientStop, int)
List<GradientStop>.LastIndexOf(GradientStop, int, int)
List<GradientStop>.Remove(GradientStop)
List<GradientStop>.RemoveAll(Predicate<GradientStop>)
List<GradientStop>.RemoveAt(int)
List<GradientStop>.RemoveRange(int, int)
List<GradientStop>.Reverse()
List<GradientStop>.Reverse(int, int)
List<GradientStop>.Sort()
List<GradientStop>.Sort(IComparer<GradientStop>)
List<GradientStop>.Sort(int, int, IComparer<GradientStop>)
List<GradientStop>.Sort(Comparison<GradientStop>)
List<GradientStop>.ToArray()
List<GradientStop>.TrimExcess()
List<GradientStop>.TrueForAll(Predicate<GradientStop>)
List<GradientStop>.Capacity
List<GradientStop>.Count
List<GradientStop>.this[int]
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class GradientStopCollection : List<GradientStop>, IList<GradientStop>, ICollection<GradientStop>, IList, ICollection, IReadOnlyList<GradientStop>, IReadOnlyCollection<GradientStop>, IEnumerable<GradientStop>, IEnumerable

Methods

Add(decimal, DrawingColor)

Creates and adds a new gradient stop with the specified position and color.

Declaration
public GradientStop Add(decimal position, DrawingColor color)
Parameters
Type Name Description
decimal position

Stop position (0.0–1.0).

DrawingColor color

Stop color.

Returns
Type Description
GradientStop

The newly created gradient stop.

Implements

IList<T>
ICollection<T>
IList
ICollection
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX