Share via


CD2DBrush::GetOpacity

Gets the degree of opacity of this brush

FLOAT GetOpacity() const;

Return Value

A value between zero and 1 that indicates the opacity of the brush. This value is a constant multiplier that linearly scales the alpha value of all pixels filled by the brush. The opacity values are clamped in the range 0 to 1 before they are multiplied together

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DBrush Class