# Class ResizeMultipleTool

GoJS® Diagramming Components
version 3.0.5
by Northwoods Software®

This is an extension and not part of the main GoJS library. Note that the API for this class may change at any time. If you intend to use an extension in production, you should copy the code to your own source directory. See the Extensions intro page for more information.

#### Hierarchy

- ResizingTool
  - ResizeMultipleTool

The ResizeMultipleTool class lets the user resize multiple objects at once.

If you want to experiment with this extension, try the Resize Multiple sample.

#####
Index

### Constructors

constructor

### Methods

resize

#####
Inherited Index

### Accessors

ResizingTool.adornedObject
ResizingTool.cellSize
ResizingTool.dragsMembers
ResizingTool.handle
ResizingTool.handleArchetype
ResizingTool.isGridSnapEnabled
ResizingTool.maxSize
ResizingTool.minSize
ResizingTool.oppositePoint
ResizingTool.originalDesiredSize
ResizingTool.originalLocation
Tool.diagram
Tool.isActive
Tool.isEnabled
Tool.name
Tool.transactionResult

### Methods

ResizingTool.canStart
ResizingTool.computeCellSize
ResizingTool.computeMaxSize
ResizingTool.computeMinSize
ResizingTool.computeReshape
ResizingTool.computeResize
ResizingTool.doActivate
ResizingTool.doCancel
ResizingTool.doDeactivate
ResizingTool.doMouseMove
ResizingTool.doMouseUp
ResizingTool.stopTransaction
ResizingTool.updateAdornments
Tool.canStartMultiTouch
Tool.cancelWaitAfter
Tool.doKeyDown
Tool.doKeyUp
Tool.doMouseDown
Tool.doMouseWheel
Tool.doStart
Tool.doStop
Tool.doWaitAfter
Tool.findToolHandleAt
Tool.isBeyondDragSize
Tool.standardMouseClick
Tool.standardMouseOver
Tool.standardMouseSelect
Tool.standardMouseWheel
Tool.standardPinchZoomMove
Tool.standardPinchZoomStart
Tool.standardWaitAfter
Tool.startTransaction
Tool.stopTool

## Constructors

### constructor

- new ResizeMultipleTool(init?: Partial<ResizeMultipleTool>): ResizeMultipleTool

- Constructs a ResizeMultipleTool and sets the name for the tool.

  #### Parameters

  - ##### `Optional` init: Partial<ResizeMultipleTool>

  #### Returns ResizeMultipleTool

## Methods

### `Override` resize

- resize(newr: Rect): void

- Overrides go.ResizingTool.resize to resize all selected objects to the same size.

  #### Parameters

  - ##### newr: Rect

    the intended new rectangular bounds for each Part's go.Part.resizeObject.

  #### Returns void

Copyright © 1998-2024 by Northwoods Software Corporation.