ID2D1GradientStopCollection1

<summary> Represents an collection of gradient stops that can then be the source resource for either a linear or radial gradient brush. </summary>

Members

Functions

GetBufferPrecision
D2D1_BUFFER_PRECISION GetBufferPrecision()

<summary> Returns the buffer precision of this gradient. If this object was created using ID2D1RenderTarget::CreateGradientStopCollection, this method returns D2D1_BUFFER_PRECISION_8BPC_UNORM. </summary>

GetColorInterpolationMode
D2D1_COLOR_INTERPOLATION_MODE GetColorInterpolationMode()

<summary> Returns the interpolation mode used to interpolate colors in the gradient. </summary>

GetGradientStops1
void GetGradientStops1(D2D1_GRADIENT_STOP* gradientStops, UINT32 gradientStopsCount)

<summary> Copies the gradient stops from the collection into the caller's memory. If this object was created using ID2D1DeviceContext::CreateGradientStopCollection, this method returns the same values as were specified in the creation method. If this object was created using ID2D1RenderTarget::CreateGradientStopCollection, the stops returned here will first be transformed into the gamma space specified by the colorInterpolationGamma parameter. </summary>

GetPostInterpolationSpace
D2D1_COLOR_SPACE GetPostInterpolationSpace()

<summary> Returns the color space colors will be converted to after interpolation occurs. If this object was created using ID2D1RenderTarget::CreateGradientStopCollection, this method returns D2D1_COLOR_SPACE_SRGB. </summary>

GetPreInterpolationSpace
D2D1_COLOR_SPACE GetPreInterpolationSpace()

<summary> Returns the color space in which interpolation occurs. If this object was created using ID2D1RenderTarget::CreateGradientStopCollection, this method returns the color space related to the color interpolation gamma. </summary>

Meta