Path Attribute | Internet Development Index |
Specifies the line that makes up the edges of a shape. Read/write String.
Applies To
Tag Syntax
<v:element path="expression">
Script Syntax
element.path="expression"
expression=element.path
Remarks
If a shape contains the Path element, the path commands of the Path element take precedence over the shape attribute value. See the Path element topic for details on the command set used for paths.
VML Standard Attribute
Example
A closed square path is defined in the string of the path attribute. An initial point is defined with m (used for the moveto command) at 1,1 and a line is drawn with l (the letter "L" used for the command lineto) from the starting position (1,1) to the other three points (in order): 1,200; 200,200; 200,1. The line is closed with x (close) and ended with e (end ). Note that coordinates are given in the relative coordinate space and that the real size is determined by the width and height.
<v:shape id="rect01" fillcolor="red" strokecolor="red" coordorigin="0 0" coordsize="200 200" style="position:relative;top:1;left:1;width:20;height:20" path="m 1,1 l 1,200, 200,200, 200,1 x e"> </v:shape>
Path Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
城步| 福建省| 秦安县| 忻州市| 浑源县| 屏东市| 清水河县| 西贡区| 咸阳市| 理塘县| 西乌珠穆沁旗| 长垣县| 西丰县| 西乡县| 栾川县| 汾阳市| 奉节县| 漠河县| 大余县| 资源县| 同江市| 诸城市| 盱眙县| 三穗县| 达拉特旗| 京山县| 久治县| 上饶县| 札达县| 乌拉特前旗| 崇义县| 腾冲县| 洪洞县| 周宁县| 雷州市| 固原市| 盐山县| 颍上县| 渝北区| 沙田区| 清远市|