Interface: IRenderer
Hierarchy
↳
IRenderer
Implemented by
Table of contents
Properties
Methods
- start
- stop
- destroy
- update
- requestLayout
- render
- renderAgain
- renderOnce
- partRender
- clipRender
- fullRender
- renderHitView
- renderBoundsView
- addBlock
- mergeBlocks
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
Defined in
leafer/packages/interface/src/control/IControl.ts:2
stop
▸ stop(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/control/IControl.ts:3
destroy
▸ destroy(): void
Returns
void
Inherited from
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
Name | Type |
---|---|
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
Name | Type |
---|---|
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
Name | Type |
---|---|
bounds | IBounds |
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
Name | Type |
---|---|
options | IRenderOptions |
Returns
void
Defined in
leafer/packages/interface/src/renderer/IRenderer.ts:50
renderBoundsView
▸ renderBoundsView(options
): void
Parameters
Name | Type |
---|---|
options | IRenderOptions |
Returns
void
Defined in
leafer/packages/interface/src/renderer/IRenderer.ts:51
addBlock
▸ addBlock(block
): void
Parameters
Name | Type |
---|---|
block | IBounds |
Returns
void
Defined in
leafer/packages/interface/src/renderer/IRenderer.ts:53
mergeBlocks
▸ mergeBlocks(): void
Returns
void