PHP Velho Oeste 2024

Represents dimenstions (width, height)

(PHP 7, UI 0.9.9)

소개

Sizes are used throughout UI to represent the size of a screen, control, or area.

클래스 개요

final UI\Size {
/* 프로퍼티 */
public $width ;
public $height ;
/* Constructor */
public __construct ( float $width , float $height )
/* 메소드 */
public float getHeight ( void )
public float getWidth ( void )
public static UI\Size of ( float $size )
public static UI\Size of ( UI\Point $point )
public setHeight ( float $size )
public setWidth ( float $size )
}

프로퍼티

width

Holds the width, can be read/written directly

height

Holds the height, can be read/written directly

Table of Contents

add a note add a note

User Contributed Notes

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