BoundsSnapGeometry

See source code
Table of contents

When moving or resizing shapes, the bounds of the shape can snap to key geometry on other nearby shapes. Customize how a shape snaps to others with ShapeUtil.getBoundsSnapGeometry.

interface BoundsSnapGeometry {}

Properties

points

optional

Points that this shape will snap to. By default, this will be the corners and center of the shapes bounding box. To disable snapping to a specific point, use an empty array.

points?: VecModel[]

Prev
BindingOnShapeIsolateOptions
Next
BoundsSnapPoint