Interface: SurfaceInfo
Defined in: core/types.ts:145
The public data of the surface of a wand.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
canvas | readonly | HTMLCanvasElement | The canvas of the wand. | core/types.ts:151 |
element | readonly | HTMLElement | The root element in overlay mode, or the target element in container mode. | core/types.ts:149 |
mode | readonly | "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
| Parameter | Type |
|---|---|
point | Point |