Create(X: Integer; Y: Integer);
Create(X: Integer; Y: Integer);
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 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.
Imports Prognoz.Platform.Interop.Drawing;
Function GetPoint(X: Integer; Y: Integer): GxPoint;
Var
OutPoint: GxPoint = New GxPointClass();
Begin
OutPoint.Create(X, Y);
Return OutPoint;
End Function;
This function returns a new point, which coordinates are passed as input parameters.
See also: