addPoint method

NmLassoSelection addPoint(
  1. Offset point
)

Add a point to the lasso path

Implementation

NmLassoSelection addPoint(Offset point) {
  final newPoints = [...points, point];
  return NmLassoSelection(points: newPoints, isClockwise: isClockwiseDirection(newPoints), startTime: startTime);
}