drawRawPoints method
- PointMode pointMode,
- Float32List points,
- Paint paint
override
Draws a sequence of points according to the given PointMode.
The points argument is interpreted as a list of pairs of floating point
numbers, where each pair represents an x and y offset from the origin.
The paint is used for each point (PointMode.points) or line
(PointMode.lines or PointMode.polygon), ignoring Paint.style.
See also:
- drawPoints, which takes
pointsas a List<Offset> rather than a List<Float32List>.
Implementation
@override
void drawRawPoints(PointMode pointMode, Float32List points, Paint paint) {
invocations.add(
RecordedInvocation(
_MethodCall(#drawRawPoints, <dynamic>[pointMode, points, Paint.from(paint)]),
stack: StackTrace.current,
),
);
}