point method
Implementation
void point({
required double x,
required double y,
double? z,
}) {
if (z != null) {
throw UnimplementedError('3D point drawing is not yet supported.');
}
_paintingContext.strokePaint.style = PaintingStyle.fill;
_paintingContext.canvas.drawRect(
Rect.fromLTWH(x, y, 1, 1),
_paintingContext.strokePaint,
);
_paintingContext.strokePaint.style = PaintingStyle.stroke;
_paintingContext.markHasUnappliedCanvasCommands();
}