ID2D1LinearGradientBrush::GetGradientStopCollection method (d2d1.h)
Retrieves the ID2D1GradientStopCollection associated with this linear gradient brush.
Syntax
void GetGradientStopCollection(
[out] ID2D1GradientStopCollection **gradientStopCollection
);
Parameters
[out] gradientStopCollection
Type: ID2D1GradientStopCollection**
The ID2D1GradientStopCollection object associated with this linear gradient brush object. This parameter is passed uninitialized.
Return value
None
Remarks
ID2D1GradientStopCollection contains an array of D2D1_GRADIENT_STOP structures and information, such as the extend mode and the color interpolation mode.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1.h |
Library | D2d1.lib |
DLL | D2d1.dll |