enum

TermBuf::Gradient::Axis

Inherits Enum < Comparable < Value < Object

Which way the ramp runs.

Constants

Horizontal = 0

Left edge to right edge.

Vertical = 1

Top edge to bottom edge.

Instance methods

horizontal?

Returns true if this enum value equals Horizontal

Source
vertical?

Returns true if this enum value equals Vertical

Source