Context2D
@3dverse/livelink / Context2D
Class: Context2D
Defined in: livelink.js/sources/rendering/contexts/Context2D.ts:6
Extends
Constructors
new Context2D()
new Context2D(
canvas
,context_attributes
?):Context2D
Defined in: livelink.js/sources/rendering/contexts/Context2D.ts:13
Parameters
canvas
HTMLCanvasElement
context_attributes?
CanvasRenderingContext2DSettings
Returns
Overrides
Methods
drawFrame()
drawFrame(
__namedParameters
):void
Defined in: livelink.js/sources/rendering/contexts/Context2D.ts:27
Parameters
__namedParameters
frame
OffscreenCanvas
| VideoFrame
left
number
top
number
Returns
void
Overrides
release()
release():
void
Defined in: livelink.js/sources/rendering/contexts/Context2D.ts:44
Returns
void
Overrides
refreshSize()
refreshSize():
void
Defined in: livelink.js/sources/rendering/contexts/ContextProvider.ts:25
Returns
void