5,392
社区成员
发帖
与我相关
我的任务
分享
TXRegionRect = packed record
X: Integer;
Y: Integer;
Width: Integer;
Height: Integer;
end;
funciton CreateTXRegionRect(AX,AY,AWidth,AHeight: Integer):TXRegionRect;
function CreateTXRegionRect(AX, AY, AWidth, AHeight: Integer): TXRegionRect;
begin
Result.X := AX;
Result.Y := AY;
Result.Width := AWidth;
Result.Height := AHeight;
end;
// 调用
var
r:TXRegionRect;
begin
r := CreateTXRegionRect(111, 222, 333, 444);
end;