Shadow Filter EffectShadow Filter Effect*
*Contents  *Index  *Topic Contents
*Previous Topic: Mask Filter
*Next Topic: Wave Filter Effect

Shadow Filter Effect

Description

Paints a solid silhouette of the selected visual object along one of its edges, in the specified direction. This creates the illusion of a shadow around the visual object.

Syntax

{FILTER: Shadow(Color=color, Direction=direction)}

ParameterDescription
color Specific color for the shadow effect. Color is expressed in #RRGGBB format, where RR is the red hexadecimal value, GG is the green hexadecimal value, and BB is the blue hexadecimal value.
direction Directional offset for the shadow effect. Direction is expressed in terms of degrees clockwise from vertical orientation of the object, in 45-degree increments. The default orientation is 225 degrees, which places the shadow to the bottom left side of the object.
ValueDescription
0Top
45Top right
90Right
135Bottom right
180Bottom
225Bottom left
270Left
315Top left

Remarks

For the direction parameter, negative values or values larger than 360 degrees will wrap around to their equivalent angle (for example, -45 degrees is equivalent to 315-degree orientation). This allows mathematical manipulations to be carried out easily in code.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.