* feat: cursor alignment when creating linear elements * feat: apply cursor alignment to multi-point linear elements * refactor: rename size helper function
Co-authored-by: Ryan <diweihao@bytedance.com>