略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Size::of

2025-02-27

UI\Size::of

(UI 1.0.2)

UI\Size::ofPoint Coercion

说明

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

Shall return a UI\Size object where width and height are equal to those supplied, either in float or UI\Point form

参数

size

The value for width and height

point

The Point to convert

返回值

The resulting Size

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/ui-size.of.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3