@univerjs/sheets-ui v0.5.0-beta.1Docs


Interface: IMarkSelectionService

Methods

addShape()

addShape(
   selection, 
   exits?, 
   zIndex?): null | string

Parameters

ParameterType
selectionISelectionWithStyle
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

ParameterType
idstring

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:29