Set multiple attributes at once: rect.attr({ fill: '#f06' , 'fill-opacity': 0.5 , stroke: '#000' , 'stroke-width': 10 }). Set an attribute with a namespace:
確定! 回上一頁