« UI\Point::setY
UI\Size::__construct »

Represents dimensions (width, height)

(UI 0.9.9)

はじめに

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

クラス概要

final class UI\Size {
/* プロパティ */
public $width;
public $height;
/* Constructor */
public function __construct(float $width, float $height)
/* メソッド */
public function getHeight(): float
public function getWidth(): float
public static function of(float $size): UI\Size
public static function of(UI\Point $point): UI\Size
public function setHeight(float $size)
public function setWidth(float $size)
}

プロパティ

width

Holds the width, can be read/written directly

height

Holds the height, can be read/written directly

目次

関連キーワード:
Size   width   height   float   size   Represents   dimensions   Point   construct   プロパティ   getHeight   getWidth   static   setHeight   setWidth   Holds   read   written   directly   Retrieves   Height   Width   setY   Sizes   used
関連する関数・ページ:
ui-size.construct   ui-size.of   ui-size.setheight   ui-size.getheight   ui-size.getwidth   ui-size.setwidth