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)}
Parameter Description 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.
Value Description 0 Top 45 Top right 90 Right 135 Bottom right 180 Bottom 225 Bottom left 270 Left 315 Top 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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.