initFromRange Method

Initialize this ViewRect from a range.

initFromRange(input: Readonly<WritableLowAndHighXY>): void

Parameter Type Description
input Readonly<WritableLowAndHighXY> The Range to use. input.low defines the top-left and input.high defines the bottom-right.

Returns - void

Defined in

Last Updated: 12 June, 2024