cairo_line_cap_t

Specifies how to render the endpoints of the path when stroking.

The default line cap style is cairo.types.LineCap.Butt.

Values

ValueMeaning
Butt0

start(stop) the line exactly at the start(end) point (Since 1.0)

Round1

use a round ending, the center of the circle is the end point (Since 1.0)

Square2

use squared ending, the center of the square is the end point (Since 1.0)