GxPointF.Create

Syntax

Create(X: Double; Y: Double);

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 GetPointF(X: Double; Y: Double): IGxPointF;
Var
    OutPoint: IGxPointF;
Begin
    OutPoint := New GxPointF.Create(X, Y);
    Return OutPoint;
End Function GetPointF;

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

See also:

GxPointF