The CairoLineCap class

(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 {
/* 锟斤拷锟斤拷 */
const integer BUTT = 0 ;
const integer ROUND = 1 ;
const integer SQUARE = 2 ;
}

预锟斤拷锟藉常锟斤拷

CairoLineCap::BUTT

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

CairoLineCap::ROUND

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

CairoLineCap::SQUARE

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