Skip to main content

anim_key

Function anim_key 

Source
fn anim_key(mode: ResizeMode, corner: Pos2) -> AnimKey
Expand description

The animation key for one corner handle. Keyed on the corner’s snapped position so a settled selection’s handles animate independently and stably; the resize-active corner draws armed (not animated), so its position churning during a drag never feeds a key.