ID2D1SvgPaint interface (d2d1svg.h)

Interface describing an SVG fill or stroke value.

Inheritance

The ID2D1SvgPaint interface inherits from ID2D1SvgAttribute. ID2D1SvgPaint also has these types of members:

Methods

The ID2D1SvgPaint interface has these methods.

 
ID2D1SvgPaint::GetColor

Gets the paint color that is used if the paint type is D2D1_SVG_PAINT_TYPE_COLOR.
ID2D1SvgPaint::GetId

Gets the element id which acts as the paint server. This id is used if the paint type is D2D1_SVG_PAINT_TYPE_URI.
ID2D1SvgPaint::GetIdLength

Gets the string length of the element id which acts as the paint server. This id is used if the paint type is D2D1_SVG_PAINT_TYPE_URI.
ID2D1SvgPaint::GetPaintType

Gets the paint type.
ID2D1SvgPaint::SetColor

Sets the paint color that is used if the paint type is D2D1_SVG_PAINT_TYPE_COLOR. (overload 2/2)
ID2D1SvgPaint::SetColor

Sets the paint color that is used if the paint type is D2D1_SVG_PAINT_TYPE_COLOR. (overload 1/2)
ID2D1SvgPaint::SetId

Sets the element id which acts as the paint server. This id is used if the paint type is D2D1_SVG_PAINT_TYPE_URI.
ID2D1SvgPaint::SetPaintType

Sets the paint type.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h