GxPoint.Create

Syntax

Create(X: Integer; Y: Integer);

Parameters

X. The X coordinate of the point.

Y. The Y coordinate of the point.

Description

The Create constructor creates a new point with the specified coordinates.

Example

Function GetPoint(X: Integer; Y: Integer): IGxPoint;
Var
    OutPoint: IGxPoint;
Begin
    OutPoint := New GxPoint.Create(X, Y);
    Return OutPoint;
End Function GetPoint;

The function returns a new point, which coordinates are passed as input parameters.

See also:

GxPoint