Record TRectFHelper
Unit
Declaration
type TRectFHelper = record helper for TRectF
Description
Helper for TRectF structure providing additional functionality for rectangle manipulation
Overview
Methods
![]() |
function Contains(const APoint: TPointF; AIncludeBottomRight: boolean = false): boolean; |
![]() |
class function Intersect(const R1: TRectF; const R2: TRectF): TRectF; overload; static; |
![]() |
function IntersectsWith(const r: TRectF): boolean; |
![]() |
function IsEmpty: boolean; |
![]() |
function Union(const r: TRectF; ADiscardEmpty: boolean): TRectF; overload; |
![]() |
class function Union(const R1: TRectF; const R2: TRectF; ADiscardEmpty: boolean): TRectF; overload; static; |
![]() |
class function Union(const R1: TRectF; const R2: TRectF): TRectF; overload; static; |
![]() |
function Union(const r: TRectF): TRectF; overload; |
![]() |
procedure Include(const APoint: TPointF); |
Description
Methods
![]() |
function Contains(const APoint: TPointF; AIncludeBottomRight: boolean = false): boolean; |
Checks if the rectangle |
![]() |
class function Intersect(const R1: TRectF; const R2: TRectF): TRectF; overload; static; |
Returns the intersection of two given rectangles |
![]() |
function IntersectsWith(const r: TRectF): boolean; |
Checks if the rectangle intersects with another rectangle |
![]() |
function IsEmpty: boolean; |
Determines if the rectangle is empty (of zero size) |
![]() |
function Union(const r: TRectF; ADiscardEmpty: boolean): TRectF; overload; |
Returns the |
![]() |
class function Union(const R1: TRectF; const R2: TRectF; ADiscardEmpty: boolean): TRectF; overload; static; |
Returns the union of two given rectangles, with an option to ignore empty rectangles |
![]() |
class function Union(const R1: TRectF; const R2: TRectF): TRectF; overload; static; |
Returns the union of two given rectangles |
![]() |
function Union(const r: TRectF): TRectF; overload; |
Returns the union of itself and another rectangle |
![]() |
procedure Include(const APoint: TPointF); |
Expands the rectangle to |