@univerjs/drawing-ui v0.5.0-beta.1 • Docs
Class: DrawingRenderService
Constructors
new DrawingRenderService()
new DrawingRenderService(_drawingManagerService, _imageIoService): DrawingRenderService
Parameters
Parameter | Type |
---|---|
_drawingManagerService | IDrawingManagerService |
_imageIoService | IImageIoService |
Returns
Defined in
submodules/univer/packages/drawing-ui/src/services/drawing-render.service.ts:24
Methods
renderDrawing()
renderDrawing(param, scene): undefined | Promise<undefined | Image[]>
Parameters
Parameter | Type |
---|---|
param | IDrawingSearch |
scene | Scene |
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
Parameter | Type |
---|---|
imageParam | IImageData |
scene | Scene |
Returns
Promise
<undefined
| Image
[]>
Defined in
submodules/univer/packages/drawing-ui/src/services/drawing-render.service.ts:30