CreateBrush(Color,Double,Nullable<Boolean>) Method
Creates a IBrush2D valid for the current render pass. Use this to draw rectangles, polygons and shaded areas
Syntax
IBrush2D CreateBrush( Color color, double opacity, Nullable<bool> alphaBlend )
Parameters
- color
- The color of the brush, supports transparency
- opacity
- The opacity of the brush
- alphaBlend
- If true, use alphablending when shading. If null, auto-detect
Return Value
The IBrush2D instance
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also