begin method
Starts a new path at the given point
.
This method must be called before add or end.
point
The initial Offset for the path.
velocity
The initial velocity of the path.
pressure
The initial pressure at the starting point.
Implementation
void begin(Offset point, {double velocity = 0.0, double? pressure}) {
_points.add(point is OffsetPoint
? point
: OffsetPoint.from(point, pressure: pressure));
_currentVelocity = velocity;
}