System.Types.TPoint.Offset
Delphi
procedure Offset(const DX, DY : Integer); overload;
procedure Offset(const Point: TPoint); overload;
C++
void Offset(int DX, int DY) _ALWAYS_INLINE {
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.Types.pas SystemTypes.h |
System.Types | TPoint |
Description
Increments the values of X and Y.
Offset changes the location of the point by incrementing its X and Y values.