Navigation: Code Documentation > RSFMXCommon > FMX.RS.Graphics > Routines
RSIntersectRect(TRSRect,TRSRect,TRSRect) Method
Returns true if the two input rectangles, R1 and R2, intersect or overlap.
Namespace: FMX.RS.Graphics
Delphi
function RSIntersectRect( const R1, R2: TRSRect; var R: TRSRect ): Boolean; overload;
Parameters
R1
Type: System.Void
R2
R
Intersection rectangle of R1 and R2
Type: Boolean
•FMX.RS.Graphics.RSIntersectRect(TRect,TRect)
•FMX.RS.Graphics.RSIntersectRect(TRect,TRect,TRect)
•FMX.RS.Graphics.RSIntersectRect(TRSPoint,TRSPoint,TRSRect,TRSPoints)
•FMX.RS.Graphics.RSIntersectRect(TRSRect,TRSRect)
•FMX.RS.Graphics