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 220
Last Updated: 20 June, 2023