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