API Reference
@univerjs
@univerjs/sheets-ui
functions
Getcoordbycell

@univerjs/sheets-ui v0.4.2Docs


Function: getCoordByCell()

function getCoordByCell(
   row, 
   col, 
   scene, 
   skeleton): {
  endX: number;
  endY: number;
  startX: number;
  startY: number;
}

Parameters

ParameterType
rownumber
colnumber
sceneScene
skeletonSpreadsheetSkeleton

Returns

{
  endX: number;
  endY: number;
  startX: number;
  startY: number;
}
NameTypeDefined in
endXnumberpackages/sheets-ui/src/controllers/utils/component-tools.ts:100 (opens in a new tab)
endYnumberpackages/sheets-ui/src/controllers/utils/component-tools.ts:100 (opens in a new tab)
startXnumberpackages/sheets-ui/src/controllers/utils/component-tools.ts:100 (opens in a new tab)
startYnumberpackages/sheets-ui/src/controllers/utils/component-tools.ts:100 (opens in a new tab)

Defined in

packages/sheets-ui/src/controllers/utils/component-tools.ts:98 (opens in a new tab)


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