ID2D1SvgPaint interface

Interface describing an SVG fill or stroke value.

Members

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

Methods

The ID2D1SvgPaint interface has these methods.

MethodDescription
GetColor

Gets the paint color that is used if the paint type is D2D1_SVG_PAINT_TYPE_COLOR.

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.

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.

GetPaintType

Gets the paint type.

SetColor Overloaded.

Sets the paint color that is used if the paint type is D2D1_SVG_PAINT_TYPE_COLOR.

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.

SetPaintType

Sets the paint type.

 

Requirements

Header

D2d1svg.h

DLL

Direct2d.dll

 

 

Show: