findPartsIn<T extends Part, S extends Iterable<T> > method
S
findPartsIn<T extends Part, S extends Iterable<T> >(])
This convenience function finds Parts that are inside or that intersect a given Rect in document coordinates.
This just calls #findObjectsIn with appropriate arguments, but ignoring Layers that are Layer#isTemporary. @param {Rect} r a Rect in document coordinates. @param {boolean=} partialInclusion Whether a Part can match if it merely intersects the rectangular area (true) or if it must be entirely inside the rectangular area (false). The default value is false. @param {boolean=} selectable Whether to only consider parts that are Part#selectable. The default is true. @param {List.
Implementation
S findPartsIn<T extends _i3.Part, S extends _i3.Iterable<T>>(
_i3.Rect r, [
_i2.bool? partialInclusion,
_i2.bool? selectable,
S? coll,
]) =>
_i4.callMethod(
this,
'findPartsIn',
[
r,
partialInclusion ?? _i5.undefined,
selectable ?? _i5.undefined,
coll ?? _i5.undefined,
],
);