CreateFromPoint(Point: IGxPointF);
CreateFromPoint(Point: Prognoz.Platform.Interop.Drawing.GxPointF);
Point. The point that is used to create a new point.
The CreateFromPoint constructor creates a new point that is the copy of the point passed by the Point parameter.
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.
Imports Prognoz.Platform.Interop.Drawing;
Function GetCopyPointF(SourcePoint: GxPointF): GxPointF;
Var
DestinationPoint: GxPointF = New GxPointFClass();
Begin
DestinationPoint.CreateFromPoint(SourcePoint);
Return DestinationPoint;
End Function;
This function returns the copy of the point passed as an input parameter.
See also: