LINE Messaging API SDK for PHP

RichMenuAreaBoundsBuilder

A builder class for area of rich menu area object.

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

Methods

__construct()

AreaBuilder constructor.

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

Horizontal position relative to the top-left corner of the area.

$y : int

Vertical position relative to the top-left corner of the area.

$width : int

Width of the area.

$height : int

Height of the area.

Return values
mixed

build()

Builds imagemap area structure.

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

Built area structure.

Search results