@univerjs/sheets-ui v0.4.2 • 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 | packages/sheets-ui/src/controllers/utils/component-tools.ts:158 (opens in a new tab) |
y | number | offsetY | packages/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)