HumHub Documentation (unofficial)

PointInterface

The point interface.

Table of Contents

Methods

__toString()  : string
Gets a string representation for the current point.
getX()  : int
Gets points x coordinate.
getY()  : int
Gets points y coordinate.
in()  : bool
Checks if current coordinate is inside a given box.
move()  : PointInterface
Returns another point, moved by a given amount from current coordinates.

Methods

__toString()

Gets a string representation for the current point.

public __toString() : string
Return values
string

getX()

Gets points x coordinate.

public getX() : int
Return values
int

getY()

Gets points y coordinate.

public getY() : int
Return values
int

        
On this page

Search results