moby
struct Rect
since 0.1.0-alpha.1linux
Constructors
new
Fields
origin
Point originsize
Size sizeMethods
bottom
bottom() -> intcontains
contains(int px, int py) -> boolcontains(Point p) -> boolcover
h
h() -> intinset
intersect
isEmpty
isEmpty() -> boolright
right() -> intshift
shift(int dx, int dy) -> Rectw
w() -> intx
x() -> inty
y() -> int