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.
Sets the paint color that is used if the paint type is D2D1_SVG_PAINT_TYPE_COLOR.
Syntax
HRESULT SetColor(
[in] const D2D1_COLOR_F *color
);
Parameters
[in] color
Type: const D2D1_COLOR_F*
The new paint color.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d2d1svg.h |
| DLL | Direct2d.dll |