@univerjs/docs-ui v0.4.2 • Docs
Function: getAnchorBounding()
function getAnchorBounding(pointsGroup): {
height: number;
left: startX;
top: startY;
width: number;
}
Parameters
Parameter | Type |
---|---|
pointsGroup | IPoint [][] |
Returns
{
height: number;
left: startX;
top: startY;
width: number;
}
Name | Type | Default value | Defined in |
---|---|---|---|
height | number | - | packages/docs-ui/src/services/selection/text-range.ts:69 (opens in a new tab) |
left | number | startX | packages/docs-ui/src/services/selection/text-range.ts:66 (opens in a new tab) |
top | number | startY | packages/docs-ui/src/services/selection/text-range.ts:67 (opens in a new tab) |
width | number | - | packages/docs-ui/src/services/selection/text-range.ts:68 (opens in a new tab) |
Defined in
packages/docs-ui/src/services/selection/text-range.ts:57 (opens in a new tab)