System.Types.TRect.SetLocation

From RAD Studio API Documentation
Jump to: navigation, search

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 {

Properties

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

Description

Sets the location of a rectangle.

SetLocation sets the location of a rectangle to the (X, Y) or Point locations received as parameters. The location of the rectangle is represented by its upper-left corner.

See Also