@univerjs/docs-ui v0.5.0-beta.1 • 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 | - | submodules/univer/packages/docs-ui/src/services/selection/text-range.ts:69 |
left | number | startX | submodules/univer/packages/docs-ui/src/services/selection/text-range.ts:66 |
top | number | startY | submodules/univer/packages/docs-ui/src/services/selection/text-range.ts:67 |
width | number | - | submodules/univer/packages/docs-ui/src/services/selection/text-range.ts:68 |
Defined in
submodules/univer/packages/docs-ui/src/services/selection/text-range.ts:57