Function: scaleBox()
scaleBox(
start,handle,point,proportional,aspect):TransformBox
Defined in: src/lib/transform/geometry/index.ts:179
Scale the box by dragging a handle to a point, keeping the opposite side (or corner) fixed. Works on rotated boxes.
With proportional (Shift), the box keeps the original's proportions; edge handles then scale the other axis around its centre.
Parameters
start
the box when the drag started
handle
point
proportional
boolean
aspect
number
original width ÷ height, kept when proportional