RectContainsCoords

Parameters
r rect
x real
y real
comment
patch

1.00

Source
Blizzard.j
return type
boolean
Source code
function RectContainsCoords takes rect r, real x, real y returns boolean
    return (GetRectMinX(r) <= x) and (x <= GetRectMaxX(r)) and (GetRectMinY(r) <= y) and (y <= GetRectMaxY(r))
endfunction