以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 SVG/GML/VRML/X3D/XAML 』 (http://bbs.xml.org.cn/list.asp?boardid=21) ---- [求助]为什么我在组里设置path的fill和stroke,fill好用,stroke不好用? (http://bbs.xml.org.cn/dispbbs.asp?boardid=21&rootid=&id=36959) |
-- 作者:密码锁 -- 发布时间:8/19/2006 10:43:00 AM -- [求助]为什么我在组里设置path的fill和stroke,fill好用,stroke不好用? var gdcnode=svgDoc.createElement("g"); gnode.appendChild(gdcnode); gdcnode.setAttribute("style","cursor:crosshair;fill:blue"); gdcnode.setAttribute("stroke","black"); gdcnode.setAttribute("stroke-width",0.5); var newpath=svgDoc.createElement("path"); newpath.setAttribute("d","M 10,10 L 15,15 L 10,20 L 5,15 Z"); gdcnodel.appendChild(newpath); 我在组里设置path的fill和stroke,fill好用,stroke不好用,为什么? |
-- 作者:fuyu131 -- 发布时间:8/19/2006 11:05:00 AM -- 你把black的那个双引号去掉试试 |
-- 作者:密码锁 -- 发布时间:8/19/2006 2:22:00 PM -- 那就有错误了 |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
46.875ms |