Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1RenderTarget::CreateSolidColorBrush methods

Creates a new ID2D1SolidColorBrush that can be used to paint areas with a solid color.

Overload list

MethodDescription
CreateSolidColorBrush(D2D1_COLOR_F&,ID2D1SolidColorBrush**)

Creates a new ID2D1SolidColorBrush that has the specified color and a base opacity of 1.0f.

CreateSolidColorBrush(D2D1_COLOR_F&,D2D1_BRUSH_PROPERTIES&,ID2D1SolidColorBrush**)

Creates a new ID2D1SolidColorBrush that has the specified color and opacity.

CreateSolidColorBrush(D2D1_COLOR_F*,D2D1_BRUSH_PROPERTIES*,ID2D1SolidColorBrush**)

Creates a new ID2D1SolidColorBrush that has the specified color and opacity.

Examples

For an example, see How to Create a Solid Color Brush.

Requirements

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1RenderTarget
Brushes Overview
Direct2D QuickStart

 

 

Show:
© 2017 Microsoft