@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Function: getTransformCoord()
function getTransformCoord(
evtOffsetX,
evtOffsetY,
scene,
skeleton): {
x: offsetX;
y: offsetY;
}
Parameters
Parameter | Type |
---|---|
evtOffsetX | number |
evtOffsetY | number |
scene | Scene |
skeleton | SpreadsheetSkeleton |
Returns
{
x: offsetX;
y: offsetY;
}
Name | Type | Default value | Defined in |
---|---|---|---|
x | number | offsetX | submodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:158 |
y | number | offsetY | submodules/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