System.Types.TRect.SetLocation
Delphi
procedure SetLocation(const X, Y: Integer); overload;
procedure SetLocation(const Point: TPoint); overload;
C++
void SetLocation(int X, int Y) _ALWAYS_INLINE {
void SetLocation(const TPoint& p) _ALWAYS_INLINE {
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | System.Types.pas SystemTypes.h |
System.Types | TRect |
Beschreibung
Setzt die Position eines Rechtecks.
SetLocation setzt die Position eines Rechtecks auf die in den Parametern (X
, Y
) oder Point
angegebenen Koordinaten. Die Position des Rechtecks ist von seinem oberen linken Eckpunkt repräsentiert.