Skip to content

Interface: IRenderer

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

target

target: ILeaf

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:22


canvas

canvas: ILeaferCanvas

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:23


updateBlocks

updateBlocks: IBounds[]

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:24


FPS

FPS: number

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:26


totalTimes

totalTimes: number

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:27


times

times: number

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:28


running

running: boolean

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:30


rendering

rendering: boolean

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:31


waitAgain

waitAgain: boolean

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:33


changed

changed: boolean

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:34


ignore

ignore: boolean

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:35


config

config: IRendererConfig

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:37

Methods

start

start(): void

Returns

void

Inherited from

IControl.start

Defined in

leafer/packages/interface/src/control/IControl.ts:2


stop

stop(): void

Returns

void

Inherited from

IControl.stop

Defined in

leafer/packages/interface/src/control/IControl.ts:3


destroy

destroy(): void

Returns

void

Inherited from

IControl.destroy

Defined in

leafer/packages/interface/src/control/IControl.ts:4


update

update(): void

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:39


requestLayout

requestLayout(): void

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:41


render

render(callback?): void

Parameters

NameType
callback?IFunction

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:43


renderAgain

renderAgain(): void

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:44


renderOnce

renderOnce(callback?): void

Parameters

NameType
callback?IFunction

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:45


partRender

partRender(): void

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:46


clipRender

clipRender(bounds): void

Parameters

NameType
boundsIBounds

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:47


fullRender

fullRender(): void

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:48


renderHitView

renderHitView(options): void

Parameters

NameType
optionsIRenderOptions

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:50


renderBoundsView

renderBoundsView(options): void

Parameters

NameType
optionsIRenderOptions

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:51


addBlock

addBlock(block): void

Parameters

NameType
blockIBounds

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:53


mergeBlocks

mergeBlocks(): void

Returns

void

Defined in

leafer/packages/interface/src/renderer/IRenderer.ts:54

Released under the MIT License.