API Reference
@univerjs
@univerjs/drawing-ui
classes
Drawingrenderservice

@univerjs/drawing-ui v0.4.2Docs


Class: DrawingRenderService

Constructors

new DrawingRenderService()

new DrawingRenderService(_drawingManagerService, _imageIoService): DrawingRenderService

Parameters

ParameterType
_drawingManagerServiceIDrawingManagerService
_imageIoServiceIImageIoService

Returns

DrawingRenderService

Defined in

packages/drawing-ui/src/services/drawing-render.service.ts:24 (opens in a new tab)

Methods

renderDrawing()

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

Parameters

ParameterType
paramIDrawingSearch
sceneScene

Returns

undefined | Promise<undefined | Image[]>

Defined in

packages/drawing-ui/src/services/drawing-render.service.ts:118 (opens in a new tab)


renderImages()

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

Parameters

ParameterType
imageParamIImageData
sceneScene

Returns

Promise<undefined | Image[]>

Defined in

packages/drawing-ui/src/services/drawing-render.service.ts:30 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.