Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves color information about each gradient stop, such as palette indices.
Syntax
HRESULT GetGradientStopColors(
UINT32 firstGradientStopIndex,
UINT32 gradientStopCount,
DWRITE_PAINT_COLOR *gradientStopColors
);
Parameters
firstGradientStopIndex
Type: UINT32
Index of the first gradient stop to get.
gradientStopCount
Type: UINT32
Number of gradient stops to get.
gradientStopColors
Type: _Out_writes_(gradientStopCount) DWRITE_PAINT_COLOR *
Receives the gradient stop colors.
Return value
A standard HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 (with Windows App SDK 1.2 or later) |
Header | dwrite_3.h |