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. |
Defined in
Last Updated: 08 January, 2020