Color2 Attribute | Internet Development Index |
Defines a second color for fills. Read/write VgColor.
Applies To
Tag Syntax
<v: element color2="expression">
Script Syntax
element.color2="expression"
expression=element.color2
Remarks
A second color is used when a fill type is a pattern or a gradient. The default value is White.
VML Standard Attribute
Example
The shape's fill type is a pattern where the foreground fill is defined by the source image but the transparent background is defined by the second color.
<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="pattern" color2="green" src="myimage.gif"/> </v:shape>临漳县| 肇东市| 扬州市| 内黄县| 潼南县| 包头市| 德保县| 行唐县| 儋州市| 土默特右旗| 南江县| 建昌县| 定南县| 土默特左旗| 瓮安县| 丰原市| 分宜县| 双牌县| 永靖县| 邯郸市| 淮安市| 衡东县| 毕节市| 南宫市| 偏关县| 普兰店市| 万年县| 云梦县| 桓台县| 永定县| 汝阳县| 陇川县| 闽清县| 邵武市| 遂川县| 浦城县| 鄂伦春自治旗| 蓝山县| 广昌县| 凉城县| 彩票|