Menu

## AreaBuilder
in package

AreaBuilder.php : 26

A builder class for area of imagemap.

### Table of Contents

$height : int
$width : int
$x : int
$y : int
__construct() : mixed
  AreaBuilder constructor.
build() : array<string|int, mixed>
  Builds imagemap area structure.

### Properties

#### $height

AreaBuilder.php : 35
`private int $height`

#### $width

AreaBuilder.php : 33
`private int $width`

#### $x

AreaBuilder.php : 29
`private int $x`

#### $y

AreaBuilder.php : 31
`private int $y`

### Methods

#### __construct()

AreaBuilder.php : 45

AreaBuilder constructor.

`public __construct(int $x, int $y, int $width, int $height) : mixed`

##### Parameters

$x : int

  Position of x-axis.

$y : int

  Position of y-axis.

$width : int

  Width of area.

$height : int

  Height of area.

##### Return values

mixed —

#### build()

AreaBuilder.php : 58

Builds imagemap area structure.

`public build() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

Built area structure.

## Search results