canMove method

bool canMove()

This predicate returns true if #movable is true, if the layer's Layer#allowMove is true, and if the diagram's Diagram#allowMove is true.

This does not check Diagram#isReadOnly or Model#isReadOnly, but commands and tools should check those properties. @expose @return {boolean} true if the user may move this part.

Implementation

_i2.bool canMove() => _i4.callMethod(
      this,
      'canMove',
      [],
    );