enum

Phosphor::Direction

Inherits Enum < Comparable < Value < Object

Orientation for widgets that lay out content along a single axis.

Used by widgets that render one row/column of items versus one item per row (ScrollbarMock, MenuMock) to decide which Frame dimension they walk.

Constants

Vertical = 0

Content stacks top to bottom, one item per row.

Horizontal = 1

Content sits side by side in a single row, left to right.

Instance methods

horizontal?

Returns true if this enum value equals Horizontal

Source
vertical?

Returns true if this enum value equals Vertical

Source