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