intersects
Indicates whether this viewport intersects a specified viewport. Two viewport intersect when both overlap by a non-zero amount. An empty viewport never intersects another viewport.
Return
true if the specified viewport intersections this viewport, false otherwise
Parameters
the X component of the viewport to test intersection with
the Y component of the viewport to test intersection with
the viewport width to test intersection with
the viewport height to test intersection with
Indicates whether this viewport intersects a specified viewport. Two viewport intersect when both overlap by a non-zero amount. An empty viewport never intersects another viewport.
Return
true if the specified viewport intersections this viewport, false otherwise
Parameters
the viewport to test intersection with