@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Interface: IMarkSelectionService
Methods
addShape()
addShape(
selection,
exits?,
zIndex?): null | string
Parameters
Parameter | Type |
---|---|
selection | ISelectionWithStyle |
exits ? | string [] |
zIndex ? | number |
Returns
null
| string
Defined in
submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:28
getShapeMap()
getShapeMap(): Map<string, IMarkSelectionInfo>
Returns
Map
<string
, IMarkSelectionInfo
>
Defined in
submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:32
refreshShapes()
refreshShapes(): void
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:31
removeAllShapes()
removeAllShapes(): void
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:30
removeShape()
removeShape(id): void
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:29