Appearance
Class: Renderer
渲染器
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Renderer(context
, app
)
Parameters
Name | Type |
---|---|
context | CanvasRenderingContext2D |
app | Transform <Container > |
Defined in
src/core/canvas2d/render/Renderer.ts:32
Properties
app
Defined in
src/core/canvas2d/render/Renderer.ts:32
context
• context: CanvasRenderingContext2D
Defined in
src/core/canvas2d/render/Renderer.ts:32
renderActions
• renderActions: RenderAction
<any
>[]
Defined in
src/core/canvas2d/render/Renderer.ts:26
Methods
render
▸ render(): CanvasRenderingContext2D
Returns
CanvasRenderingContext2D