FocusPosition Attribute | Internet Development Index |
Defines the center of a radial gradient. Read/write VgVector2D.
Applies To
Tag Syntax
<v: element focusposition="expression">
Script Syntax
element.focusposition="expression"
expression=element.focusposition
Remarks
Specifies the center position for radial gradients. The vector is a fraction of the width and height of the shape. The first is a percentage of the fill to the left edge; the second is a percentage of the fill to the top. The default value is 0,0. To position a radial fill at the center of a shape, use the value of 50%,50%.
VML Standard Attribute
Example
The radial fill will be centered so that blue will start in the center and radiate outward, gradually changing to red by the time it reaches the outside edges and corners.
<v:shape id="rect01" coordorigin="0 0" coordsize="200 200" strokecolor="red" style="top:1;left:1;width:50;height:50" path="m 1,1 l 1,200, 200,200, 200,1 x e"> <v:fill type="GradientRadial" color="red" color2="blue" focusposition="50%,50%"/> </v:shape>来凤县| 德阳市| 镇平县| 上思县| 屯门区| 中山市| 德安县| 泰安市| 信丰县| 双鸭山市| 永州市| 陆丰市| 孝义市| 陆川县| 特克斯县| 西贡区| 马山县| 洛隆县| 新绛县| 嘉祥县| 镇远县| 顺义区| 扬州市| 长海县| 安泽县| 金平| 乐安县| 上饶市| 嫩江县| 高邮市| 平乡县| 邢台市| 时尚| 台北县| 河池市| 小金县| 莆田市| 宽甸| 昂仁县| 泽库县| 天柱县|