DELPHI Point(X, Y)
时间: 2023-12-14 22:04:19 浏览: 131
DELPHI 函数
Point(X, Y) in Delphi is a function that returns a TPoint record type with the coordinates specified by the parameters X and Y.
The TPoint record type contains two fields: X and Y, both of type Integer. This record type is used to represent a point in a two-dimensional Cartesian coordinate system.
Example Usage:
var
MyPoint: TPoint;
begin
MyPoint := Point(10, 20);
// MyPoint.X = 10, MyPoint.Y = 20
end;
阅读全文