About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2021-09-06: new blog post "Legacy Documents and TeX Live Docker Images".
Previous: Dash Pattern  Up: Line Style  Next: Join Style  


Cap Style

The cap style can be one of: butt, round or square. (See Figure 9.2.)

capstyle
Figure 9.2: Cap styles: (a) butt, (b) round, (c) square. Note that the round and square caps protude from the start and end vertices.

Note that the cap is affected by whether the path is open or closed. In Figure 9.3(a) the path is an open path where the end points happen to coincide; in Figure 9.3(b) the path is a closed path.

   
 capopen capclosed  
 (a) (b)  
Figure 9.3: The cap style is affected by whether the path is open or closed: (a) butt cap applied to an open path; (b) butt cap applied to a closed path.

See also:



Previous: Dash Pattern  Up: Line Style  Next: Join 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