Skip to content

Interface: SurfaceInfo ​

Defined in: core/types.ts:145

The public data of the surface of a wand.

Properties ​

PropertyModifierTypeDescriptionDefined in
canvasreadonlyHTMLCanvasElementThe canvas of the wand.core/types.ts:151
elementreadonlyHTMLElementThe root element in overlay mode, or the target element in container mode.core/types.ts:149
modereadonly"overlay" | "container"The mode of the surface.core/types.ts:147

Methods ​

toClient() ​

ts
toClient(point): Point;

Defined in: core/types.ts:153

Converts a document position to a client position.

Parameters ​

ParameterType
pointPoint

Returns ​

Point