# Broken Path (mean with space)

**URL:** <https://forum.juce.com/t/broken-path-mean-with-space/26630>\
**Category:** General JUCE discussion\
**Created:** [March 3, 2018, 4:20pm UTC](https://forum.juce.com/t/broken-path-mean-with-space/26630 "2018-03-03T16:20:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [March 3, 2018, 4:20pm UTC](https://forum.juce.com/t/broken-path-mean-with-space/26630/1 "2018-03-03T16:20:00Z")

</div>

Hello,  
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

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [March 3, 2018, 4:24pm UTC](https://forum.juce.com/t/broken-path-mean-with-space/26630/2 "2018-03-03T16:24:17Z")

</div>

Maybe this helps [void PathStrokeType::createDashedStroke ()](https://juce.com/doc/classPathStrokeType#ab297ff70da0f10c66715d8f42cbc2d0b)?

It creates a dashed path from a given path.

Or did you just think of [Path::startNewSubPath()](https://juce.com/doc/classPath#a9c24222b2226b0e082069dbf789dca07)?

---

<div class="post-metadata">

**Author:** ![pajczur](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pajczur](https://forum.juce.com/u/pajczur)\
**Post date:** [March 3, 2018, 4:26pm UTC](https://forum.juce.com/t/broken-path-mean-with-space/26630/3 "2018-03-03T16:26:41Z")

</div>

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