Shadow Element | Internet Development Index |
Defines a shadow for a shape.
The following attributes modify a shadow.
| Attribute | Description |
| Color | Defines the color of a shadow. |
| Color2 | Defines the second color of a shadow. |
| ID | Specifies the unique identifier of a shadow. |
| Matrix | Defines the perspective transform of a shadow. |
| Obscured | Determines whether the shadow is transparent. |
| Offset | Defines how far the shadow extends past the shape. |
| Offset2 | Defines a second offset. |
| On | Determines whether a shadow is displayed. |
| Opacity | Determines the transparency of a shadow. |
| Origin | Defines the center of the shadow. |
| Type | Specifies the type of shadow. |
Remarks
This element must be defined within a Shape element.
In addition, the On attribute must be set to True.
The following is the minimum code needed to produce a shadow.
<v:rect fillcolor="green" style="position:relative;top:1;left:1;width:50;height:50"> <v:shadow on="True"/> </v:rect>
You may not notice the shadow unless you increase the Offset values, since the default offset is 2pt,2pt.
Examples
Click here to view a simple shape with a shadow.
Click here to view a more complex sample.
永州市| 三明市| 万州区| 安陆市| 万盛区| 西藏| 五台县| 武乡县| 南漳县| 卓资县| 都匀市| 同仁县| 禹城市| 侯马市| 杭锦后旗| 保定市| 浠水县| 青神县| 桓仁| 建始县| 汉阴县| 甘谷县| 隆化县| 客服| 盐城市| 从化市| 桃园市| 清水县| 重庆市| 乌苏市| 苏尼特右旗| 武邑县| 台南市| 十堰市| 贵德县| 会昌县| 乌拉特中旗| 正镶白旗| 新源县| 新建县| 皮山县|