enum

Cairo::LineCap

Inherits Enum / Comparable / Value / Object

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

The default line cap style is LineCap::Butt.

Constants

Butt = 0

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

Round = 1

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

Square = 2

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

Instance methods

butt?

Returns true if this enum value equals Butt

Source
round?

Returns true if this enum value equals Round

Source
square?

Returns true if this enum value equals Square

Source