selectInRect method
This method is called to select some parts within the area of a given rectangle.
The normal behavior is to set the diagram's selection collection to only those parts in the given rectangle according to the #isPartialInclusion policy. However, if the Shift key modifier is used, no parts are deselected -- this adds to the selection the parts in the rectangle not already selected. If the Control key (Command on Mac) modifier is used, this toggles the selectedness of the parts in the rectangle. If the Control key (Command on Mac) and Shift key modifiers are both used, this deselects the parts in the rectangle.
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} r a rectangular bounds in document coordinates.
Implementation
void selectInRect(_i3.Rect r) {
_i4.callMethod(
this,
'selectInRect',
[r],
);
}