Function: getCoordByOffset()
function getCoordByOffset(
evtOffsetX,
evtOffsetY,
scene,
skeleton,
viewport?,
closeFirst?): {
column: number;
endX: number;
endY: number;
row: number;
startX: number;
startY: number;
}
Defined in: submodules/univer/packages/sheets-ui/src/controllers/utils/component-tools.ts:103
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;
}