padding property
Object
get
padding
Gets or sets the Margin that describes the Diagram's padding, which controls how much extra space in document coordinates there is around the area occupied by the document. This keeps nodes from butting up against the side of the diagram (unless scrolled).
The default value is a margin of 5, all around the edge of the document.
Implementation
_i2.Object get padding => _i4.getProperty(
this,
'padding',
);
set
padding
(Object value)
Implementation
set padding(_i2.Object value) {
_i4.setProperty(
this,
'padding',
value,
);
}