@mocanvas/mocanvas · interface

TLShapeHandleOverlay

interface TLShapeHandleOverlay extends TLOverlay

One of a shape's own handles — an arrow terminal, a line vertex.


Properties · 5

handleId: string

The handle's id, as its shape util named it.

handleType: "vertex" | "virtual" | "create" | "clone"

virtual handles are the midpoints that only exist until you drag one.

point: VecLike

Page-space position.

shapeId: string

The shape the handle belongs to.

type: "shapeHandle"

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.