Skip to main content

rescale

Rescales the node. This API function is the equivalent of using the Scale Tool from the toolbar.

Signature

rescale(scale: number): void

Parameters

scale

The scale by which to resize the node from the top-left corner.

Remarks

The scale factor must be >= 0.01