PowerToys/src/settings-ui/Settings.UI/Helpers/POINT.cs
2022-09-16 10:54:58 +02:00

25 lines
556 B
C#

// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
namespace Microsoft.PowerToys.Settings.UI.Helpers
{
[Serializable]
[StructLayout(LayoutKind.Sequential)]
public struct POINT
{
public int X { get; set; }
public int Y { get; set; }
public POINT(int x, int y)
{
X = x;
Y = y;
}
}
}