initFromPoints Method

Initialize this ViewRect from two points.

initFromPoints(topLeft: XAndY, bottomRight: XAndY): void

Parameter Type Description
topLeft XAndY The top-left corner.
bottomRight XAndY The bottom-right corner.

Returns - void

Defined in

Last Updated: 15 June, 2021