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

  • Rectangle

Interfaces

  • Component
  • Overview
  • Namespace
  • Class

Class Rectangle

A rectangle.

Namespace: Webmozart\Console\UI
Author: Bernhard Schussek bschussek@gmail.com
Since: 1.0
Located at UI/Rectangle.php
Methods summary
public
# __construct( integer $width, integer $height )

Creates dimensions with the given width and height.

Creates dimensions with the given width and height.

Parameters

$width
The width as number of printable characters.
$height
The height as number of printable lines.
public integer
# getWidth( )

Returns the width.

Returns the width.

Returns

integer
The width as number of printable characters.
public integer
# getHeight( )

Returns the height.

Returns the height.

Returns

integer
The height as number of printable lines.
Webmozart Console API API documentation generated by ApiGen