@univerjs/engine-render v0.5.4


Function: clampRange()

function clampRange(
   range, 
   maxRow, 
   maxColumn): {
  endColumn: number;
  endRow: number;
  startColumn: number;
  startRow: number;
}

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:772

Parameters

ParameterType
rangeIRange
maxRownumber
maxColumnnumber

Returns

{
  endColumn: number;
  endRow: number;
  startColumn: number;
  startRow: number;
}
NameTypeDefined in
endColumnnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:777
endRownumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:775
startColumnnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:776
startRownumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:774