Overview

Namespaces

  • Webmozart
    • Console
      • Adapter
      • Api
        • Application
        • Args
          • Format
        • Command
        • Config
        • Event
        • Formatter
        • IO
        • Resolver
      • Args
      • Config
      • Formatter
      • Handler
        • Help
      • IO
        • InputStream
        • OutputStream
      • Process
      • Resolver
      • UI
        • Alignment
        • Component
        • Help
        • Layout
        • Style
      • Util

Classes

  • Alignment
  • BorderStyle
  • GridStyle
  • TableStyle
  • Overview
  • Namespace
  • Class

Class Alignment

Constants for text alignment.

Final
Namespace: Webmozart\Console\UI\Style
Author: Bernhard Schussek bschussek@gmail.com
Since: 1.0
Located at UI/Style/Alignment.php
Methods summary
public static int[]
# all( )

Returns all possible alignments.

Returns all possible alignments.

Returns

int[]
A list of valid alignment constants.
Constants summary
integer LEFT

Alignment: Align a cell to the left.

Alignment: Align a cell to the left.

# 0
integer RIGHT

Alignment: Align a cell to the right.

Alignment: Align a cell to the right.

# 1
integer CENTER

Alignment: Align a cell to the center.

Alignment: Align a cell to the center.

# 2
Webmozart Console API API documentation generated by ApiGen