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.)
赤水市| 交城县| 巴马| 阿合奇县| 建水县| 兴国县| 收藏| 类乌齐县| 永和县| 凉城县| 岳普湖县| 乌鲁木齐市| 台中县| 望都县| 香格里拉县| 彩票| 宝丰县| 浙江省| 崇仁县| 博罗县| 武邑县| 萨迦县| 延庆县| 社旗县| 田林县| 潜江市| 瑞昌市| 闻喜县| 普格县| 石柱| 大埔县| 镇沅| 衡山县| 绍兴县| 三原县| 石棉县| 怀来县| 乐都县| 土默特左旗| 玉溪市| 大田县|