The <shadow> Element

You can use the <shadow> element to add shadows to VML shapes, as well as create embossing effects and even double shadows. Here's the attribute list for this element:

<!attlist shadow 

id id #implied -- document-wide unique id --
on cdata #implied
type cdata #implied
obscured cdata #implied
color cdata #implied
opacity cdata #implied
offset cdata #implied
color2 cdata #implied
offset2 cdata #implied
origin cdata #implied
matrix cdata #implied
>

You can find the attributes of this element in Table 19-2.

Table 19-2. Attributes of the <shadow> Element
Namespace Attribute Type Default Value Description
VML color boolean gray RGB(128,128, 128) Sets the color of the primary shadow.
VML color2 boolean gray RGB(203,203, 203) Sets ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.