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

Last Updated: 14 November, 2024