HumHub Documentation (unofficial)

PointSigned
in package
implements PointInterface

FinalYes

A point class that allows negative values of coordinates.

Table of Contents

Interfaces

PointInterface
The point interface.

Properties

$x  : int
$y  : int

Methods

__construct()  : mixed
Constructs a point of coordinates.
__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.

Properties

Methods


        
On this page

Search results