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: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.