About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.
Previous: Line Thickness (or Pen Width)  Up: Line Style  Next: Cap Style  


Dash Pattern

A path can be drawn either as a solid line or with a dash pattern. Select the Solid Line button for a solid line or select the Dashed Line button for a dash pattern. The latter will enable the Offset, Dash and Gap fields. The offset is the distance from the starting vertex of the path to the start of the first dash. The dash pattern will then repeat line and gap pairs, where the line length is given by the Dash field and the gap length is given by the Gap field.

A dash-dot pattern can be obtained by selecting the Secondary checkbox and entering the secondary dash length and gap length. For example, in Figure 9.1 path (a) has a solid line; path (b) has a dash pattern with an offset of 0bp, dash length of 10bp and gap length of 5bp; path (c) is the same as path (b) except that the dash pattern has an offset of 10bp; path (d) has no offset, a primary pair of dash length 10bp and gap length 5bp, and a secondary pair of dash length 1bp and gap length 5bp which gives a dash-dot pattern.

dashpatterns
Figure 9.1: Example dash patterns: (a) solid line; (b) dash length 10bp and gap length 5bp; (c) dash length 10bp, gap length 5bp and 10bp offset; (d) primary dash length 10bp with gap length 5bp and secondary dash length 1bp with gap length 5bp.



Previous: Line Thickness (or Pen Width)  Up: Line Style  Next: Cap Style  

© 2014 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs