proc initRect2*(pos, size: Vector2): Rect2 {.inline
.}
-
Source
Edit
proc initRect2*(x, y, sizeX, sizeY: float32): Rect2 {.inline
.}
-
Source
Edit
proc `$`*(self: Rect2): string {.inline
.}
-
Source
Edit
proc area*(self: Rect2): float32 {.noSideEffect, importc: "godot_rect2_get_area"
.}
-
Source
Edit
proc intersects*(a, b: Rect2): bool {.noSideEffect, importc: "godot_rect2_intersects"
.}
-
Source
Edit
proc encloses*(a, b: Rect2): bool {.noSideEffect, importc: "godot_rect2_encloses"
.}
-
Source
Edit
proc hasNoArea*(self: Rect2): bool {.noSideEffect, importc: "godot_rect2_has_no_area"
.}
-
Source
Edit
proc clip*(a, b: Rect2): Rect2 {.noSideEffect, importc: "godot_rect2_clip"
.}
-
Source
Edit
proc merge*(a, b: Rect2): Rect2 {.noSideEffect, importc: "godot_rect2_merge"
.}
-
Source
Edit
proc contains*(self: Rect2; point: Vector2): bool {.noSideEffect,
importc: "godot_rect2_has_point"
.}
-
Source
Edit
proc grow*(self: Rect2; by: float32): Rect2 {.noSideEffect, importc: "godot_rect2_grow"
.}
-
Source
Edit
proc expand*(self: Rect2; to: Vector2): Rect2 {.noSideEffect,
importc: "godot_rect2_expand"
.}
-
Source
Edit
proc `==`*(a, b: Rect2): bool {.noSideEffect, importc: "godot_rect2_operator_equal"
.}
-
Source
Edit