ID2D1SvgPaint::SetColor(constD2D1_COLOR_F*) method (d2d1svg.h)
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 |