GxPointF.CreateFromPoint

Syntax

CreateFromPoint(Point: IGxPointF);

Parameters

Point. The point that is used to create a new point.

Description

The CreateFromPoint constructor creates a new point that is the copy of the point passed by the Point parameter.

Example

Function GetCopyPointF(SourcePoint: IGxPointF): IGxPointF;
Var
    DestinationPoint: IGxPointF;
Begin
    DestinationPoint := New GxPointF.CreateFromPoint(SourcePoint);
    Return DestinationPoint;
End Function GetCopyPointF;

This function returns the copy of the point passed as an input parameter.

See also:

GxPointF