drawPoints method
Draws a sequence of points according to the given PointMode.
The points
argument is interpreted as offsets from the origin.
See also:
- drawRawPoints, which takes
points
as a Float32List rather than a List<Offset>.
Implementation
void drawPoints(PointMode pointMode, List<Offset> points, Paint paint) {
assert(pointMode != null);
assert(points != null);
assert(paint != null);
_drawPoints(paint._objects, paint._data, pointMode.index, _encodePointList(points));
}