Skip to main content

Interface: ICanvasRecorder<T>

Extra-Helpers.ICanvasRecorder

Type parameters

NameType
Textends string = any

Hierarchy

Implemented by

Properties

state

state: TRecorderStates

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:7


options

options: CanvasRecorderOptions

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:12

Methods

setOptions

setOptions(options): void

Parameters

NameType
optionsPartial<CanvasRecorderOptions>

Returns

void

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:8


isRecording

isRecording(): boolean

Returns

boolean

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:9


requestFrame

requestFrame(): boolean

Returns

boolean

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:10


dispose

dispose(): void

Returns

void

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:11


start

start(): void

Returns

void

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:13


pause

pause(): void

Returns

void

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:14


stop

stop(recordingCallback): void

Parameters

NameType
recordingCallback(b: Blob) => void

Returns

void

Defined in

webgi/src/extras/canvas_recorder/ACanvasRecorder.ts:15