Mercurial > MadButterfly
comparison nodejs/svg.js @ 830:2a73ff24c141
Use accessor to replace the method to setup the opacity
author | wycc |
---|---|
date | Wed, 15 Sep 2010 01:18:49 +0800 |
parents | 84853c8559cf |
children | 76fe4afce640 |
comparison
equal
deleted
inserted
replaced
829:379fd510ba38 | 830:2a73ff24c141 |
---|---|
534 | 534 |
535 style = {}; | 535 style = {}; |
536 parseGroupStyle(style, n); | 536 parseGroupStyle(style, n); |
537 if(style.opacity) { | 537 if(style.opacity) { |
538 sys.puts(style.opacity); | 538 sys.puts(style.opacity); |
539 coord.set_opacity(style.opacity); | 539 coord.opacity=style.opacity; |
540 } | 540 } |
541 | 541 |
542 for(k in nodes) { | 542 for(k in nodes) { |
543 var c = nodes[k].name(); | 543 var c = nodes[k].name(); |
544 var attr = nodes[k].attr('id'); | 544 var attr = nodes[k].attr('id'); |