SunshinePHP 2016

The CairoLineCap class


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

The default line cap style is CairoLineCap::BUTT.

Class synopsis

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

Predefined Constants

CairoLineCap Node Types


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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top