enum Cairo::LineCap

Overview

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

The default line cap style is LineCap::Butt.

Defined in:

cairo/line_cap.cr

Enum Members

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

Instance Method Detail

def butt? #

[View source]
def round? #

[View source]
def square? #

[View source]