About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-07-03: Ebook sale (1st – 31st July 2024): short story cybercrime fiction Unsocial Media free; short story cybercrime fiction Smile for the Camera free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.
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