This text is displayed if your browser does not support the Canvas HTML element.
Diagram.documentBounds:
36.12, 35.36 241.87 x 227.89

Diagram.contentAlignment:



Diagram.position:

Diagram.scale:

Diagram.fixedBounds (x, y, width, height):

Diagram.padding (top, right, bottom, left):

Diagram.autoScale:



(but no greater than CommandHandler.defaultScale)

A Diagram's Diagram.contentAlignment property determines how parts are positioned when the Diagram.viewportBounds width or height is different than the Diagram.documentBounds width or height.

View this sample page's source in-page

View this sample page's source on GitHub