enum

Cairo::LineJoin

Inherits Enum / Comparable / Value / Object

Specifies how to render the junction of two lines when stroking.

The default line join style is LineJoin::Miter.

Constants

Miter = 0

Use a sharp (angled) corner, see Context#miter_limit=(limit).

Round = 1

Use a rounded join, the center of the circle is the joint point.

Bevel = 2

Use a cut-off join, the join is cut off at half the line width from the joint point.

Instance methods

bevel?

Returns true if this enum value equals Bevel

Source
miter?

Returns true if this enum value equals Miter

Source
round?

Returns true if this enum value equals Round

Source