isTemporary property
bool
get
isTemporary
Gets or sets whether the objects in this layer are considered temporary.
Parts in temporary layers are not selectable, and changes to Parts in temporary layers are not recorded in the UndoManager. Objects in temporary layers do not receive click events unless you set their GraphObject#isActionable to true.
Temporary layers are excluded from bounds calculations, with the exception of the "Tool" layer, so that temporary objects created while dragging are included in the bounds.
Default value is false.
When this is set to true, #isInDocumentBounds on this layer is set to false. You can override this behavior by setting #isInDocumentBounds after setting this property.
Implementation
_i2.bool get isTemporary => _i4.getProperty(
this,
'isTemporary',
);
set
isTemporary
(bool value)
Implementation
set isTemporary(_i2.bool value) {
_i4.setProperty(
this,
'isTemporary',
value,
);
}