resize method
Change the size of the selected part's Part#resizeObject to have the given bounds. This modifies its GraphObject#desiredSize and maybe its Part#location.
This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Rect} newr a Rectangle in the #adornedObject's local coordinates, not in document coordinates
Implementation
void resize(_i3.Rect newr) {
_i4.callMethod(
this,
'resize',
[newr],
);
}