Using the closure in a correct way
Added the padding into the ecuation

This keeps the X axis the same, but changes the rectangle width
Parameterized the width
Parameterized the height

And updated the tests
Made the scaling factor costumizable
Made the scaling costumizable

So the user can scale the value to her liking
Added method to get the "rect" children

I will also add text in little while
Added text elements. They are not in the right location
Setting the text x value
Computed the y position

Really roughly
Updated the example to use the new closure style