@univerjs/sheets-ui v0.4.2 • 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
packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:29 (opens in a new tab)
getShapeMap()
getShapeMap(): Map<string, IMarkSelectionInfo>
Returns
Map
<string
, IMarkSelectionInfo
>
Defined in
packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:33 (opens in a new tab)
refreshShapes()
refreshShapes(): void
Returns
void
Defined in
packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:32 (opens in a new tab)
removeAllShapes()
removeAllShapes(): void
Returns
void
Defined in
packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:31 (opens in a new tab)
removeShape()
removeShape(id): void
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
Defined in
packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:30 (opens in a new tab)