OptionalapplyOptionalbehaviorsOptionalclickDrag-disabled mode. When true, every release routes to pointInsert(start) regardless of bounds — commitInsert is never called. Used by tool hooks that wire only pointer.onClick (no marquee).
OptionalinsertOptionalminStrictly-greater-than thresholds; bounds with width <= or height <= abort. Default { width: 0, height: 0 }.
OptionalonOptionalonOptionalpointClick / sub-threshold-drag fallback. When provided, a release whose
bounds fall <= minBounds calls pointInsert(start) instead of aborting.
Returning null aborts. The created object is dispatched as an InsertOp
under the same insertLabel.
OptionalposefromConstruct the in-flight pose from the drag bounds. Defaults to the
identity cast (treat bounds as TPose). Override for non-rect TPose
(e.g. (b) => rectPath(b) or a polygon factory).
OptionalsnapOptional: snap world-space points to the active grid (or any other snap target). Applied to every coord the gesture ingests, so both the live marquee overlay and the committed bounds track the snapped values. When omitted, behavior is identical to today (identity passthrough).
OptionaltransientReserved; insert is never transient in practice. Ignored.
Override for op dispatch on commit. When set, this is called instead of
dispatchApplyBatch(adapter, ...). Tool hooks that synthesize an adapter but want commits to route through the active tool ctx'sapplyOps(for history integration) supply a function that reads from a ref captured on handler entry. Read fresh on every commit, so a ref-reader works without retriggering memos.