Change dimensions of a paper. Dimensions should always be passed to the options object of the
joint.dia.Paper constructor. Use
setDimensions() to change dimensions of the paper later on if needed. If the method is called a
"resize" event is triggered on the paper.
|Number||Dimension in pixels (e.g
Dimension as CSS property value (e.g
Make sure the paper container element has size defined.
|null||No dimension set. Useful when size of the paper controlled in CSS.|