Colors Attribute | Internet Development Index |
Defines multiple colors for a gradient fill. Read/write IVgGradientColorArray.
Applies To
Tag Syntax
<v: element colors="expression">
Script Syntax
element.colors="expression"
expression=element.colors
Remarks
Used to define an array consisting of paired values of percentages (VgFraction) and color (VgColor). The array creates a blended fill using each point in the array, starting at 0% (defined by Color ) and ending at 100% (defined by Color2). Intermediate colors along the way can be defined by assigning a color value to a percentage. The percent and color pair are not separated by a comma, but pairs are separated from each other by commas.
VML Standard Attribute
Example
The shape has a gradient fill consisting of four colors, starting with red, blending to yellow, then green, and finally blue.
<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="red" color2="blue" colors="30% yellow,70% green"/> </v:shape>滨州市| 远安县| 吴旗县| 兴仁县| 信阳市| 林口县| 邢台县| 汉寿县| 阿图什市| 大余县| 苍溪县| 锡林浩特市| 白河县| 仙居县| 横山县| 时尚| 额尔古纳市| 东莞市| 扶绥县| 崇义县| 昌图县| 樟树市| 孟津县| 新龙县| 勐海县| 伊吾县| 奉化市| 大埔区| 普兰店市| 宁德市| 印江| 祁连县| 皋兰县| 龙口市| 会宁县| 西乌珠穆沁旗| 连江县| 府谷县| 南汇区| 锦屏县| 凉城县|