Interface: PlaneBox
Defined in: client/plane.ts:13
plane.ts — the pencil plane (D2): the video's CONTENT box, not the stage.
WebRTC ramps resolution from a tiny first frame, and each change fires resize on the video element — a plane computed from anything else silently keeps its stale default (measured: strokes y-compressed by exactly the letterbox ratio). So the tracker recomputes from the video's intrinsic size against the stage, and the caller MUST wire recompute to the video element's own resize/loadedmetadata events (attaching from the stage's ref was a bet on ref ordering, and it lost).
Properties
height
height:
number
Defined in: client/plane.ts:17
left
left:
number
Defined in: client/plane.ts:14
top
top:
number
Defined in: client/plane.ts:15
width
width:
number
Defined in: client/plane.ts:16