CakeFest 2024: The Official CakePHP Conference

UI\Point::at

(UI 1.0.2)

UI\Point::atПриведение Size

Описание

public static UI\Point::at(float $point): UI\Point
public static UI\Point::at(UI\Size $size): UI\Point

Должен вернуть объект UI\Point с координатами x и y, заданными в виде числа с плавающей точкой либо в виде объекта UI\Size.

Список параметров

point

Значение для x и y

size

Объект класса Size для конвертации

Возвращаемые значения

Объект класса Point

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top