enum

Phosphor::Alignment

Inherits Enum < Comparable < Value < Object

Horizontal text alignment within a fixed-width cell.

Used by widgets that lay out text into columns or wrapped blocks (TableMock's Column, ParagraphMock) to decide how to pad or position text that's narrower than the space it's given.

Constants

Left = 0
Center = 1
Right = 2

Instance methods

center?

Returns true if this enum value equals Center

Source
left?

Returns true if this enum value equals Left

Source
right?

Returns true if this enum value equals Right

Source