Einzelnen Beitrag anzeigen

Rollo62

Registriert seit: 15. Mär 2007
3.908 Beiträge
 
Delphi 12 Athens
 
#2

AW: Verständnis bon Class TRect Definition

  Alt 20. Mär 2017, 08:33
Delphi-Quellcode:
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
Macht das doch.

x = Left, y = Top, x+Width = Right, y+Height = Bottom

Rollo
  Mit Zitat antworten Zitat