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.
通河县| 乐业县| 崇文区| 获嘉县| 共和县| 木兰县| 巨野县| 兰坪| 如皋市| 惠来县| 沽源县| 博罗县| 达拉特旗| 长顺县| 关岭| 依安县| 长垣县| 百色市| 三台县| 陆丰市| 新安县| 长乐市| 南靖县| 铁力市| 容城县| 讷河市| 塔城市| 辉南县| 手机| 崇礼县| 大名县| 弥勒县| 隆安县| 黄浦区| 本溪| 宽甸| 诏安县| 宕昌县| 龙海市| 南澳县| 明星|