canResize method

bool canResize()

This predicate returns true if #resizable is true, if the layer's Layer#allowResize is true, and if the diagram's Diagram#allowResize 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 resize this part.

Implementation

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