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


Function: getTransformCoord()

function getTransformCoord(
   evtOffsetX, 
   evtOffsetY, 
   scene, 
   skeleton): {
  x: offsetX;
  y: offsetY;
}

Parameters

ParameterType
evtOffsetXnumber
evtOffsetYnumber
sceneScene
skeletonSpreadsheetSkeleton

Returns

{
  x: offsetX;
  y: offsetY;
}
NameTypeDefault valueDefined in
xnumberoffsetXsubmodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:158
ynumberoffsetYsubmodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:158

Defined in

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