enum

Draw::LineCap

Inherits Enum < Comparable < Value < Object

Constants

Round = 0

Round defines a rounded shape at the end of the line

Butt = 1

Butt defines a squared shape exactly at the end of the line

Square = 2

Square defines a squared shape at the end of the line

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