Line Styles

Learn about the different line styles in Pycairo.

Line caps

The line cap value affects how the ends of the lines are drawn. There are three options: butt, square, and round.

Here is the code that is used to draw these lines:

Get hands-on with 1400+ tech skills courses.