I would like to have a rect centered on my body. This works for a circle :
draw.circle('200','50').fill('#f00').attr({ cx: '50%', cy: '50%' })
This not works :
draw.rect('200','50').fill('#f00').attr({ cx: '50%', cy: '50%' })
draw.rect('200','50').fill('#f00').move('50%','50%')
How to do this (without $(window).width()/2
) ?