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>五寨县| 成安县| 曲水县| 芒康县| 廊坊市| 湘潭县| 龙井市| 宽甸| 瑞昌市| 安福县| 浮山县| 镇雄县| 迭部县| 施秉县| 仁化县| 池州市| 富平县| 邵阳县| 休宁县| 宁陵县| 特克斯县| 安国市| 濮阳县| 宣武区| 通江县| 怀柔区| 建德市| 贵港市| 额济纳旗| 黎平县| 温泉县| 扎赉特旗| 剑阁县| 沙田区| 广元市| 大渡口区| 英超| 揭阳市| 马尔康县| 万安县| 葫芦岛市|