proc initRect2(pos, size: Vector2): Rect2 {.inline, raises: [], tags: []
.}
-
Source
Edit
proc initRect2(x, y, sizeX, sizeY: float32): Rect2 {.inline, raises: [], tags: []
.}
-
Source
Edit
proc `$`(self: Rect2): string {.inline, raises: [], tags: []
.}
-
Source
Edit
proc area(self: Rect2): float32 {.inline, raises: [], tags: []
.}
-
Source
Edit
proc intersects(a, b: Rect2): bool {.inline, raises: [], tags: []
.}
-
Source
Edit
proc encloses(a, b: Rect2): bool {.inline, raises: [], tags: []
.}
-
Source
Edit
proc hasNoArea(self: Rect2): bool {.inline, raises: [], tags: []
.}
-
Source
Edit
proc clip(self, b: Rect2): Rect2 {.inline, raises: [], tags: []
.}
-
Source
Edit
proc merge(self, b: Rect2): Rect2 {.inline, raises: [], tags: []
.}
-
Source
Edit
proc contains(self: Rect2; point: Vector2): bool {.inline, raises: [], tags: []
.}
-
Source
Edit
proc grow(self: Rect2; by: float32): Rect2 {.inline, raises: [], tags: []
.}
-
Source
Edit
proc expand(self: Rect2; to: Vector2): Rect2 {.inline, raises: [], tags: []
.}
-
Source
Edit
proc `==`(a, b: Rect2): bool {.inline, raises: [], tags: []
.}
-
Source
Edit