Skip to content

Tego Bot API Documentation v0.2.0


Tego Bot API Documentation / InteractiveCaptureOptions

Interface: InteractiveCaptureOptions

Defined in: botjs/src/screenshot.ts:27

Interactive capture mode options

Properties

showGrid?

optional showGrid: boolean

Defined in: botjs/src/screenshot.ts:29

Show grid overlay during selection


showCoordinates?

optional showCoordinates: boolean

Defined in: botjs/src/screenshot.ts:31

Show coordinate information


showSize?

optional showSize: boolean

Defined in: botjs/src/screenshot.ts:33

Show size information


hintText?

optional hintText: string

Defined in: botjs/src/screenshot.ts:35

Hint text to display


enableWindowSnap?

optional enableWindowSnap: boolean

Defined in: botjs/src/screenshot.ts:37

Enable automatic window snapping


snapThreshold?

optional snapThreshold: number

Defined in: botjs/src/screenshot.ts:39

Snap threshold in pixels (default: 10)

Released under the MIT License.