Skip to main content

Function: setBrushSizeForToolGroup()

setBrushSizeForToolGroup(toolGroupId, brushSize, toolName?): void

Sets the brush size for all brush-based tools in a given tool group.

Parameters

toolGroupId: string

The ID of the tool group to set the brush size for.

brushSize: number

The new brush size to set.

toolName?: string

The name of the specific tool to set the brush size for (optional) If not provided, all brush-based tools in the tool group will be affected.

Returns

void

Defined in

tools/src/utilities/segmentation/brushSizeForToolGroup.ts:14