Skip to content

sizeAfterTransform

sizeAfterTransform(width, height, t): Point

Defined in: src/util/misc/objectTransforms.ts:107

given a width and height, return the size of the bounding box that can contains the box with width/height with applied transform. Use to calculate the boxes around objects for controls.

Parameters

width

number

height

number

t

TMat2D

Returns

Point

size