@univerjsdrawing-uiclassesDrawingrenderservice

@univerjs/drawing-ui v0.5.0-beta.1Docs


Class: DrawingRenderService

Constructors

new DrawingRenderService()

new DrawingRenderService(_drawingManagerService, _imageIoService): DrawingRenderService

Parameters

ParameterType
_drawingManagerServiceIDrawingManagerService
_imageIoServiceIImageIoService

Returns

DrawingRenderService

Defined in

submodules/univer/packages/drawing-ui/src/services/drawing-render.service.ts:24

Methods

renderDrawing()

renderDrawing(param, scene): undefined | Promise<undefined | Image[]>

Parameters

ParameterType
paramIDrawingSearch
sceneScene

Returns

undefined | Promise<undefined | Image[]>

Defined in

submodules/univer/packages/drawing-ui/src/services/drawing-render.service.ts:118


renderImages()

renderImages(imageParam, scene): Promise<undefined | Image[]>

Parameters

ParameterType
imageParamIImageData
sceneScene

Returns

Promise<undefined | Image[]>

Defined in

submodules/univer/packages/drawing-ui/src/services/drawing-render.service.ts:30