Skip to content
On this page

Class: Renderer

渲染器

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Renderer(context, app)

Parameters

NameType
contextCanvasRenderingContext2D
appTransform<Container>

Defined in

src/core/canvas2d/render/Renderer.ts:32

Properties

app

app: Transform<Container>

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

Defined in

src/core/canvas2d/render/Renderer.ts:35