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