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


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
endXnumbersubmodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:100
endYnumbersubmodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:100
startXnumbersubmodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:100
startYnumbersubmodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:100

Defined in

submodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:98