@univerjs/docs-ui v0.5.0-beta.1 • Docs
Function: convertPositionsToRectRanges()
function convertPositionsToRectRanges(
scene,
document,
docSkeleton,
anchorNodePosition,
focusNodePosition,
style,
segmentId,
segmentPage): RectRange[]
Parameters
Parameter | Type | Default value |
---|---|---|
scene | Scene | undefined |
document | Documents | undefined |
docSkeleton | DocumentSkeleton | undefined |
anchorNodePosition | INodePosition | undefined |
focusNodePosition | INodePosition | undefined |
style | ITextSelectionStyle | NORMAL_TEXT_SELECTION_PLUGIN_STYLE |
segmentId | string | '' |
segmentPage | number | -1 |
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/selection/rect-range.ts:27