IDCompositionShadowEffect interface (dcomp.h)

The shadow effect is used to generate a shadow from the alpha channel of an image. The shadow is more opaque for higher alpha values and more transparent for lower alpha values. You can set the amount of blur and the color of the shadow.

Inheritance

The IDCompositionShadowEffect interface inherits from IDCompositionFilterEffect. IDCompositionShadowEffect also has these types of members:

Methods

The IDCompositionShadowEffect interface has these methods.

 
IDCompositionShadowEffect::SetAlpha

Sets the alpha value for the effect. (overload 2/2)
IDCompositionShadowEffect::SetAlpha

Sets the alpha value for the effect. (overload 1/2)
IDCompositionShadowEffect::SetBlue

Sets the blue value for the color of the shadow. (overload 1/2)
IDCompositionShadowEffect::SetBlue

Sets the blue value for the color of the shadow. (overload 2/2)
IDCompositionShadowEffect::SetColor

Sets color of the shadow.
IDCompositionShadowEffect::SetGreen

Sets the green value for the color of the shadow. (overload 1/2)
IDCompositionShadowEffect::SetGreen

Sets the green value for the color of the shadow. (overload 2/2)
IDCompositionShadowEffect::SetRed

Sets the red value for the color of the shadow. (overload 2/2)
IDCompositionShadowEffect::SetRed

Sets the red value for the color of the shadow. (overload 1/2)
IDCompositionShadowEffect::SetStandardDeviation

Sets the amount of blur to be applied to the alpha channel of the image. (overload 1/2)
IDCompositionShadowEffect::SetStandardDeviation

Sets the amount of blur to be applied to the alpha channel of the image. (overload 2/2)

Requirements

Requirement Value
Target Platform Windows
Header dcomp.h

See also

IDCompositionFilterEffect