Angle Attribute | Internet Development Index |
Defines the angle of a gradient fill. Read/write VgAngle.
Applies To
Tag Syntax
<v: element angle="expression">
Script Syntax
element.angle="expression"
expression=element.angle
Remarks
The vector of a gradient is perpendicular to the vector of the blend direction from one color to another. The default value is 0 (zero) degrees, which is a horizontal vector from left to right. Positive angles rotate the gradient in a counter-clockwise direction.
VML Standard Attribute
Example
The fill of the shape is composed of a gradient of two colors, running from blue to red at an angle of 45 degrees. Red will be in the top left corner and blue will be in the bottom right corner.
<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="gradient" color="blue" color2="red" angle="45"/> </v:shape>揭阳市| 光泽县| 滁州市| 内江市| 潮州市| 中卫市| 青龙| 咸宁市| 台湾省| 女性| 余庆县| 内丘县| 彝良县| 平远县| 阿城市| 云林县| 旌德县| 巴彦淖尔市| 葵青区| 吉木萨尔县| 固安县| 五莲县| 博湖县| 昌邑市| 静乐县| 桂林市| 锡林郭勒盟| 沾化县| 贵德县| 昌黎县| 彰武县| 宜都市| 叶城县| 花垣县| 汽车| 翁牛特旗| 彝良县| 红河县| 盐边县| 台中市| 晋宁县|