enum Cairo::LineJoin

Overview

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

The default line join style is LineJoin::Miter.

Defined in:

cairo/line_join.cr

Enum Members

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 Method Summary

Instance Method Detail

def bevel? #

[View source]
def miter? #

[View source]
def round? #

[View source]