API Reference
@univerjs
@univerjs/sheets-ui
interfaces
Imarkselectionservice

@univerjs/sheets-ui v0.4.2Docs


Interface: IMarkSelectionService

Methods

addShape()

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

Parameters

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

ParameterType
idstring

Returns

void

Defined in

packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:30 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.