@univerjs/sheets-ui v0.4.2 • Docs
Function: getCoordByOffset()
function getCoordByOffset(
evtOffsetX,
evtOffsetY,
scene,
skeleton,
viewport?,
closeFirst?): {
column: number;
endX: number;
endY: number;
row: number;
startX: number;
startY: number;
}
Parameters
Parameter | Type |
---|---|
evtOffsetX | number |
evtOffsetY | number |
scene | Scene |
skeleton | SpreadsheetSkeleton |
viewport ? | Viewport |
closeFirst ? | boolean |
Returns
{
column: number;
endX: number;
endY: number;
row: number;
startX: number;
startY: number;
}
Defined in
packages/sheets-ui/src/controllers/utils/component-tools.ts:103 (opens in a new tab)