php8.5
Home/ Manual/ ui / point/ UI\Point::__construct

UI\Point::__construct

PHP function Edit on GitHub ✎

(UI 0.9.9)

Construct a new Point

Description

UI\Point::__construct(float $x, float $y)

Construct a new Point using new co-ordinates

Parameters

x

The new X co-ordinate

y

The new Y co-ordinate

Source: reference/ui/ui/point/construct.xml · from the official PHP manual (php/doc-en)