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(
  const D2D1_COLOR_F & color
);

Parameters

color

Type: const D2D1_COLOR_F

The new paint color.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

   
Target Platform Windows
Header d2d1svg.h
DLL Direct2d.dll

See also

ID2D1SvgPaint