Opacity effect

This effect adjusts the opacity of an image by multiplying the alpha channel of the input by the specified opacity value. It has a single input.

The CLSID for this effect is CLSID_D2D1Opacity.

Effect Properties

Display anme and index enumerationType and default valueDescripiton
Opacity

D2D1_OPACITY_PROP_OPACITY

FLOAT

1.0f

The multiplier to the input image's alpha channel. The minimum value is 0.0f and the maximum value is 1.0f.

 

Requirements

Minimum supported clientWindows 10 [desktop apps | Windows Store apps]
Minimum supported serverWindows 10 [desktop apps | Windows Store apps]
Headerd2d1effects_2.h
Libraryd2d1.lib, dxguid.lib

 

Related topics

ID2D1Effect

 

 

Show: