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 {
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | System.Types.pas SystemTypes.h |
System.Types | TRectF |
Description
Définit l'emplacement d'un rectangle.
SetLocation définit l'emplacement d'un rectangle à (X
, Y
) ou aux emplacements de point reçus en paramètres. L'emplacement du rectangle est représenté par son coin supérieur gauche.