![]() |
Lumino
|
2次元上のオブジェクトサイズを表します。 More...
#include <GeometryStructs.hpp>
Public Member Functions | |
Size () | |
すべての要素を 0 で初期化します。 | |
Size (float w, float h) | |
幅と高さを指定して初期化します。 | |
void | set (float w, float h) |
各要素を設定します。 | |
bool | isZero () const |
要素がすべて 0 かを判定します。 | |
bool | isAnyZero () const |
いずれかの要素が 0 かを判定します。 | |
Public Attributes | |
float | width |
横幅 | |
float | height |
縦幅 | |
Static Public Attributes | |
static const Size | Zero |
(0, 0) | |
static const Size | MinValue |
(min float, min float) | |
static const Size | MaxValue |
(max float, max float) | |
2次元上のオブジェクトサイズを表します。