Skip to content

scale

scale(rect, scale): Rectangle

Defined in: utils/rect.ts:32

Scale a rectangle by a provided value

Parameters

rect

Rectangle

scale

number

Returns

Rectangle