I found an old C2 project, here is how drawing it's done there:
You can use DrawingCanvas instead of Paster.
The important part here is that you move Brush sprite to the new mouse position, and then stretch the BrushFill sprite from the previous brush position (FollowBrush) to the current position (Brush). This allows to draw lines without gaps.