System.Types.TRectF.Offset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Offset(const DX, DY: Single); overload;
procedure Offset(const Point: TPointF); overload;

C++

void Offset(float DX, float DY) _ALWAYS_INLINE {

Properties

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

Description

Adds horizontal and vertical specified offsets.

Offset does the following:

  • Adds the DX offset to the Left and Right properties.
  • Adds the DY offset to the Top and Bottom properties.

In the second overload of the procedure, the offsets are represented by the coordinates of the point received as parameter.

See Also