Skip to content

five-on-it / apps/client/src/ui/studio/region / moveRegionPoint

Function: moveRegionPoint() ​

moveRegionPoint(spec, selection, handle, to): RegionSpecJson

Defined in: apps/client/src/ui/studio/region.ts:258

A spec with one of an element's points moved to the corner or tile nearest a point.

Parameters ​

spec ​

RegionSpecJson

selection ​

RegionSelection

handle ​

RegionHandle

to ​

Pt

Returns ​

RegionSpecJson