System.Types.TRect.SetLocation

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 {

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
System.Types.pas
SystemTypes.h
System.Types TRect

Description

Définit l'emplacement d'un rectangle.

SetLocation définit l'emplacement d'un rectangle à (X, Y) ou aux emplacements Point reçus en paramètres. L'emplacement du rectangle est représenté par son coin supérieur gauche.

Voir aussi