Function Rect.intersectRect
Wraps SDL_IntersectRect
which attempts to get the rectangle of intersection between two dsdl2
s
Parameters
Name | Description |
---|---|
other | other dsdl2 with which the dsdl2 is intersected |
Returns
non-null Nullable!Rect
instance if intersection is present, otherwise a null one