points

points: Uint16Array

The QPoint2ds as pairs of unsigned 16-bit integers. The length must be a multiple of 2; the number of points in the array is half the array's length. To obtain the nth point, use QPoint2d.fromScalars(buffer.points[n * 2], buffer.points[n * 2 + 1]).

Defined in

Last Updated: 20 June, 2023