Add Component.width() and Component.height().

Close #880.
Style issue - spaces between 2*SVG_...