IDCompositionShadowEffect interface

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.

Methods

The IDCompositionShadowEffect interface has these methods.

Method Description
IDCompositionShadowEffect::SetAlpha Sets the alpha value for the effect.
IDCompositionShadowEffect::SetAlpha Sets the alpha value for the effect.
IDCompositionShadowEffect::SetBlue Sets the blue value for the color of the shadow.
IDCompositionShadowEffect::SetBlue Sets the blue value for the color of the shadow.
IDCompositionShadowEffect::SetColor Sets color of the shadow.
IDCompositionShadowEffect::SetGreen Sets the green value for the color of the shadow.
IDCompositionShadowEffect::SetGreen Sets the green value for the color of the shadow.
IDCompositionShadowEffect::SetRed Sets the red value for the color of the shadow.
IDCompositionShadowEffect::SetRed Sets the red value for the color of the shadow.
IDCompositionShadowEffect::SetStandardDeviation Sets the amount of blur to be applied to the alpha channel of the image.
IDCompositionShadowEffect::SetStandardDeviation Sets the amount of blur to be applied to the alpha channel of the image.

Requirements

   
Target Platform Windows
Header dcomp.h

See Also

IDCompositionFilterEffect