PHP Portal » PHP Handbuch » The CairoLineCap class

Werbung

The CairoLineCap class


Einführung

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

The default line cap style is CairoLineCap::BUTT.

Klassenbeschreibung

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

Vordefinierte Konstanten

CairoLineCap Node Types

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