Please wait while we load your page...


PHP Manual [The CairoLineCap class]

Protect Your Website Today

PHP Manual || Cairo

(No version information available, might only be in Git)

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

The default line cap style is CairoLineCap::BUTT.

CairoLineCap {
/* Constants */
const integer BUTT = 0 ;
const integer ROUND = 1 ;
const integer SQUARE = 2 ;

Start(stop) the line exactly at the start(end) point


Use a round ending, the center of the circle is the end point


Use squared ending, the center of the square is the end point

PHP Manual || Cairo