Class D2D1GradientStopCollection
Represents an collection of D2D1GradientStop objects for linear and radial gradient brushes.
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public sealed class D2D1GradientStopCollection : D2D1Resource, IDisposable, ID2D1Releasable
  Properties
| Edit this page View SourceColorInterpolationGamma
Gets the gamma space in which the gradient stops are interpolated.
Declaration
public D2D1Gamma ColorInterpolationGamma { get; }
  Property Value
| Type | Description | 
|---|---|
| D2D1Gamma | 
ExtendMode
Gets the behavior of the gradient outside the normalized gradient range.
Declaration
public D2D1ExtendMode ExtendMode { get; }
  Property Value
| Type | Description | 
|---|---|
| D2D1ExtendMode | 
Handle
Gets an handle representing the D2D1 object interface.
Declaration
public override object Handle { get; }
  Property Value
| Type | Description | 
|---|---|
| object | 
Overrides
Methods
| Edit this page View SourceGetGradientStopCount()
Retrieves the number of gradient stops in the collection.
Declaration
public uint GetGradientStopCount()
  Returns
| Type | Description | 
|---|---|
| uint | The number of gradient stops in the collection.  | 
      
GetGradientStops()
Copies the gradient stops from the collection into an array of D2D1GradientStop structures.
Declaration
public D2D1GradientStop[] GetGradientStops()
  Returns
| Type | Description | 
|---|---|
| D2D1GradientStop[] | The collection's gradient stops.  |