System.Types.TRectF.SetLocation
Delphi
procedure SetLocation(const X, Y: Single); overload;
procedure SetLocation(const Point: TPointF); overload;
C++
void SetLocation(float X, float Y) _ALWAYS_INLINE {
void SetLocation(const TPointF& p) _ALWAYS_INLINE {
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
procedure function |
public | System.Types.pas SystemTypes.h |
System.Types | TRectF |
Beschreibung
Legt die Position eines Rechtecks fest.
SetLocation legt die Position eines Rechtecks an den als Parameter empfangenen Koordinaten (X, Y) oder Punktpositionen fest. Die Position des Rechtecks wird durch die obere linke Ecke repräsentiert.