pub fn extend_with_shape(base: &[ShapeId], shape: ShapeId) -> ToolExpand description
Toggle shape into the shape selection base (shift-click): add it if absent,
remove it if present. Resolves to the right tool for the resulting size —
nothing → select tool, one → block-style single selection, many → multi-select.