@univerjs/docs-ui v0.5.0-beta.1 • Docs
Function: getLineBounding()
function getLineBounding(pointsGroup): {
bottom: yMax;
left: xMin;
right: xMax;
top: yMin;
}[]
Parameters
Parameter | Type |
---|---|
pointsGroup | IPoint [][] |
Returns
{
bottom
: yMax
;
left
: xMin
;
right
: xMax
;
top
: yMin
;
}[]
Defined in
submodules/univer/packages/docs-ui/src/services/selection/text-range.ts:73