setFromScalars Method
Set the x and y components directly.
setFromScalars(x: number, y: number): void
| 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 - void
Defined in
- core/common/src/QPoint.ts Line 229
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.