Documentation

Point
in package

Represents a point on the screen.

This class encapsulates the coordinates of a point on the screen.

Table of Contents

Properties

$x  : int
The X coordinate position.
$y  : int
The Y coordinate position.

Methods

__construct()  : mixed
Constructs a new Point instance.

Properties

$x

The X coordinate position.

public int $x

$y

The Y coordinate position.

public int $y

Methods

__construct()

Constructs a new Point instance.

public __construct([int $x = 0 ][, int $y = 0 ]) : mixed
Parameters
$x : int = 0

The X coordinate position.

$y : int = 0

The Y coordinate position.


        
On this page

Search results