StupidBeauty
Read times:853Posted at:Sat Aug 24 20:32:04 2013
- no title specified

转载:Line width in raphaeljs

raphaeljs中,绘图时的线宽是使用”stroke-width”属性来设置的。

http://stackoverflow.com/questions/8036519/line-width-in-raphaeljs/

亮点:

6 down vote favorite

3

Is it real to make line with 1px weight in SVG or raphaeljs?

The follow code

var p = Paper.path("M1 1 L50 1");

p.attr("stroke", "#D7D7D7");

p.attr("stroke-width", "1");

p.attr("opacity", 0.5);

draw line which looks like 2px or 3px. Any alternative?

真金不怕火炉红

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4