StrokeWeight Attribute | Internet Development Index |
Defines the brush thickness that strokes the path of a shape. Read/write VGLength.
Applies To
Tag Syntax
<v:element strokeweight="expression">
Script Syntax
element.strokeweight="expression"
expression=element.strokeweight
Remarks
The value is duplicated from the Weight attribute of the Stroke element. If a number is specified, but no units are added, the default unit of measurement is the Emu. If no value is specified, the default is 1 pixel (1px).
For scripting, however, the default unit of measurement is in points.
VML Standard Attribute
See Also
Example
The stroke weight of the shape is 1 point.
<v:shape id="rect01" strokeweight="1pt" strokecolor="red" fillcolor="white" 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>
StrokeWeight Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
桓仁| 西乌珠穆沁旗| 亳州市| 法库县| 阳泉市| 昌乐县| 蚌埠市| 上林县| 江津市| 栖霞市| 柳河县| 福海县| 海城市| 云龙县| 新巴尔虎右旗| 凯里市| 仪征市| 五峰| 寻甸| 天长市| 宜章县| 木里| 穆棱市| 景宁| 集贤县| 临洮县| 吉木萨尔县| 宜兰市| 那曲县| 台湾省| 杭州市| 彭州市| 常宁市| 常山县| 铜鼓县| 乌拉特中旗| 新建县| 晋中市| 于田县| 芷江| 于田县|