ID2D1SvgGlyphStyle::SetFill method
Provides values to an SVG glyph for fill.
Syntax
HRESULT SetFill(
[in, optional] ID2D1Brush *brush
);
Parameters
- brush [in, optional]
-
Type: ID2D1Brush*
Describes how the area is painted. A null brush will cause the context-fill value to come from the defaultFillBrush. If the defaultFillBrush is also null, the context-fill value will be 'none'. To set the ‘context-fill’ value, this method uses the provided brush with its opacity set to 1. To set the ‘context-fill-opacity’ value, this method uses the opacity of the provided brush.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
|
Header |
|
|---|---|
|
DLL |
|
See also
Show: