Size

Extends \AdGrafik\GoogleMapsPHP\Object\PropertyArrayAccess

API equivalent to google.maps.Size.

see
author

Arno Dudek

Methods

Constructor

__construct(integer $width, integer $height, string $widthUnit = NULL, string $heightUnit = NULL) 

Arguments

$width

integer

$height

integer

$widthUnit

string

$heightUnit

string

Set width

setWidth(integer $width) : \AdGrafik\GoogleMapsPHP\API\Base\Point

Arguments

$width

integer

Response

\AdGrafik\GoogleMapsPHP\API\Base\Point

Get width

getWidth() : integer

Response

integer

Set height

setHeight(integer $height) : \AdGrafik\GoogleMapsPHP\API\Base\Point

Arguments

$height

integer

Response

\AdGrafik\GoogleMapsPHP\API\Base\Point

Get height

getHeight() : integer

Response

integer

Set widthUnit

setWidthUnit(string $widthUnit) : \AdGrafik\GoogleMapsPHP\API\Base\Point

Arguments

$widthUnit

string

Response

\AdGrafik\GoogleMapsPHP\API\Base\Point

Get widthUnit

getWidthUnit() : string

Response

string

Set heightUnit

setHeightUnit(string $heightUnit) : \AdGrafik\GoogleMapsPHP\API\Base\Point

Arguments

$heightUnit

string

Response

\AdGrafik\GoogleMapsPHP\API\Base\Point

Get heightUnit

getHeightUnit() : string

Response

string

printJavaScript

printJavaScript() : string

Response

string

__toString

__toString() : string

Response

string

initializeObject

initializeObject() 
inherited

ArrayAccess

offsetSet(mixed $propertyName, mixed $propertyValue) : void
inherited

Arguments

$propertyName

mixed

$propertyValue

mixed

ArrayAccess

offsetExists(mixed $propertyName) : boolean
inherited

Arguments

$propertyName

mixed

Response

boolean

ArrayAccess

offsetUnset(mixed $propertyName) : void
inherited

Arguments

$propertyName

mixed

ArrayAccess

offsetGet(mixed $propertyName) : mixed
inherited

Arguments

$propertyName

mixed

Response

mixed

Iterator

rewind() : void
inherited

Iterator

current() : mixed
inherited

Response

mixed

Iterator

key() : integer
inherited

Response

integer

Iterator

next() : void
inherited

Iterator

valid() : boolean
inherited

Response

boolean

Countable

count() : integer
inherited

Response

integer

Properties

width

width : integer
var

Type(s)

integer

height

height : integer
var

Type(s)

integer

widthUnit

widthUnit : string
var

Type(s)

string

heightUnit

heightUnit : string
var

Type(s)

string

className

className : string
var

Type(s)

string

arguments

arguments : array
var

Type(s)

array

_arrayAccessProperties

_arrayAccessProperties : array
inherited
var

Type(s)

array

_arrayAccessPosition

_arrayAccessPosition : integer
inherited
var

Type(s)

integer