@univerjs/sheets-ui v0.5.4


Interface: IMarkSelectionService

Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:27

Methods

addShape()

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

Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:28

Parameters

ParameterType
selectionISelectionWithStyle
exits?string[]
zIndex?number

Returns

null | string


addShapeWithNoFresh()

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

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

Parameters

ParameterType
selectionISelectionWithStyle
exits?string[]
zIndex?number

Returns

null | string


getShapeMap()

getShapeMap(): Map<string, IMarkSelectionInfo>

Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:33

Returns

Map<string, IMarkSelectionInfo>


refreshShapes()

refreshShapes(): void

Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:32

Returns

void


removeAllShapes()

removeAllShapes(): void

Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:31

Returns

void


removeShape()

removeShape(id): void

Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:30

Parameters

ParameterType
idstring

Returns

void