Broken Path (mean with space)

as I understand Path is one continues line. But I wonder how to do broken line (with space). I mean line that goes continuously and in some specific location it’s ended, and then continue line from different location. Is that possible without creating multiple of Path variables?
Thanks in advance for help

Maybe this helps void PathStrokeType::createDashedStroke ()?

It creates a dashed path from a given path.

Or did you just think of Path::startNewSubPath()?

Hey great thanks for reply, I suppose your second proposition could be good, I need to test it. Thanks