\WebDriverDimension

Represent a dimension.

Summary

Methods
Properties
Constants
__construct()
getHeight()
getWidth()
equals()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$height
$width
N/A

Properties

$height

$height : 

Type

$width

$width : 

Type

Methods

__construct()

__construct(  $width,   $height) 

Parameters

$width
$height

getHeight()

getHeight() : integer

Get the height.

Returns

integer —

The height.

getWidth()

getWidth() : integer

Get the width.

Returns

integer —

The width.

equals()

equals(\WebDriverDimension  $dimension) : boolean

Check whether the given dimension is the same as the instance.

Parameters

\WebDriverDimension $dimension

The dimension to be compared with.

Returns

boolean —

Whether the height and the width are the same as the

         instance.