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

cairo_line_cap_t

Format

An object of class list of length 3.

Details

The default line cap style is %CAIRO_LINE_CAP_BUTT.

Since: 1.0

CAIRO_LINE_CAP_BUTT

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

CAIRO_LINE_CAP_ROUND

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

CAIRO_LINE_CAP_SQUARE

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

See also