Skip to Content

@revideo/2d


@revideo/2d / code / pointToPoint

Function: pointToPoint()

pointToPoint(startLine, startColumn, endLine, endColumn): CodeRange

Defined in: 2d/src/lib/code/CodeRange.ts:60 

Create a custom selection range.

Parameters

startLine

number

The line at which the selection starts.

startColumn

number

The column at which the selection starts.

endLine

number

The line at which the selection ends.

endColumn

number

The column at which the selection ends.

Returns

CodeRange

© 2026 Haven Technologies, Inc.
Function: pointToPoint() – Revideo