Interface: ICanvasRecorder<T>
Extra-Helpers.ICanvasRecorder
Type parameters
Name | Type |
---|---|
T | extends string = any |
Hierarchy
SimpleEventDispatcher
<T
|TRecorderStates
>↳
ICanvasRecorder
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
Name | Type |
---|---|
options | Partial <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
Name | Type |
---|---|
recordingCallback | (b : Blob ) => void |
Returns
void