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 name and index enumeration | Type and default value | Description |
---|---|---|
Opacity D2D1_OPACITY_PROP_OPACITY |
FLOAT1.0f |
The multiplier to the input image's alpha channel. The minimum value is 0.0f and the maximum value is 1.0f. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps | Windows Store apps] |
Minimum supported server | Windows 10 [desktop apps | Windows Store apps] |
Header | d2d1effects_2.h |
Library | d2d1.lib, dxguid.lib |
Related topics
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for