Table of Contents

Interface IGradientStopCollection

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Represents a collection of GradientStop objects for linear and radial gradient brushes.
ID2D1GradientStopCollection
ID2D1GradientStopCollection1

public interface IGradientStopCollection : IDirect2DResource, IObjectRef, IIsDisposed, IDisposable, IFactoryProperty, IInternalImpl
Inherited Members
Extension Methods

Properties

BufferPrecision

Gets the precision of the gradient buffer.

ColorInterpolationGamma

Indicates the gamma space in which the gradient stops are interpolated.

ColorInterpolationMode

Retrieves the color interpolation mode that the gradient stop collection uses.

ExtendMode

Indicates the behavior of the gradient outside the normalized gradient range.

GammaTransformedGradientStops

Retrieves the gradient stop values transformed into the color space specified by the ColorInterpolationGamma value. If the value is Srgb, or if the CreateGradientStopCollection() overload which does not take a gamma parameter was used, then these will be the same as the values used when creating the collection.

GradientStops

Retrieves the original gradient stop values used when creating the collection.

PostInterpolationSpace

Gets the color space after interpolation has occurred.

PreInterpolationSpace

Gets the color space of the input colors as well as the space in which gradient stops are interpolated.