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

@univerjs/sheets-ui v0.4.2Docs


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
xnumberoffsetXpackages/sheets-ui/src/controllers/utils/component-tools.ts:158 (opens in a new tab)
ynumberoffsetYpackages/sheets-ui/src/controllers/utils/component-tools.ts:158 (opens in a new tab)

Defined in

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


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