@univerjssheets-graphicsclassesSheetgraphicsrendercontroller

@univerjs/sheets-graphics v0.5.4


Class: SheetGraphicsRenderController

Defined in: sheets-graphics/src/controllers/graphics-render.controller.ts:23

Every render module should implement this interface.

Extends

Implements

Constructors

new SheetGraphicsRenderController()

new SheetGraphicsRenderController(_context): SheetGraphicsRenderController

Defined in: sheets-graphics/src/controllers/graphics-render.controller.ts:26

Parameters

ParameterType
_contextIRenderContext

Returns

SheetGraphicsRenderController

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: core/src/shared/lifecycle.ts:109

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


registerRenderer()

registerRenderer(key, renderer): void

Defined in: sheets-graphics/src/controllers/graphics-render.controller.ts:41

Parameters

ParameterType
keystring
renderer(ctx, skeleton, coordInfo) => void

Returns

void