fromScalars MethodStatic
Create a QPoint2d directly from x and y components.
fromScalars(x: number, y: number): QPoint2d
| Parameter | Type | Description |
|---|---|---|
| x | number | Must be an integer in the range [0, 0xffff] |
| y | number | Must be an integer in the range [0, 0xffff] |
Returns - QPoint2d
Defined in
- core/common/src/QPoint.ts Line 239
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.