@univerjs/docs-ui v0.4.2 • 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
packages/docs-ui/src/services/selection/text-range.ts:73 (opens in a new tab)