API:System.Types.TRect.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const Origin: TPoint); overload;                              // empty rect at given origin
constructor Create(const Origin: TPoint; Width, Height: Integer); overload;      // at TPoint of origin with width and height
constructor Create(const Left, Top, Right, Bottom: Integer); overload;           // at x, y with width and height
constructor Create(const P1, P2: TPoint; Normalize: Boolean = False); overload;  // with corners specified by p1 and p2
constructor Create(const R: TRect; Normalize: Boolean = False); overload;

C++

TRect() _ALWAYS_INLINE
TRect(const TPoint& TL) _ALWAYS_INLINE {
TRect(const TPoint& TL, int width, int height) _ALWAYS_INLINE {
TRect(int l, int t, int r, int b) _ALWAYS_INLINE {
TRect(const TPoint& TL, const TPoint& BR) _ALWAYS_INLINE {
TRect(const RECT& r) _ALWAYS_INLINE {

Properties

Type Visibility Source Unit Parent
constructor public
System.Types.pas
SystemTypes.h
System.Types TRect

Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!