Create(X: Double; Y: Double);
Create(X: Double; Y: Double);
X. The X coordinate of the point.
Y. The Y coordinate of the point.
The Create constructor creates a new point with the specified coordinates.
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.
Imports Prognoz.Platform.Interop.Drawing;
Function GetPointF(X: Double; Y: Double): GxPointF;
Var
OutPoint: GxPointF = New GxPointFClass();
Begin
OutPoint.Create(X, Y);
Return OutPoint;
End Function;
This function returns a new point, which coordinates are passed as input parameters.
See also: