/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Models/ScreenRect.cs
15 строк
498 B
Michael Jolley
CmdPal Dock: Multi-monitor support (#46915)
14 май 2026, 01:37
Не верифицирован
14 май 2026, 01:37
966c1db
Код
Авторство
О чём код?
// 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. namespace Microsoft.CmdPal.UI.ViewModels.Models; /// <summary> /// Represents the bounds of a monitor in virtual-screen coordinates. /// </summary> public readonly record struct ScreenRect(int Left, int Top, int Right, int Bottom) { public int Width => Right - Left; public int Height => Bottom - Top; }