坞安全区添加比例模式。

This commit is contained in:
2026-06-15 14:42:24 +08:00
parent 224c87084e
commit 24cf6da3c7
2 changed files with 70 additions and 4 deletions
+11
View File
@@ -26,4 +26,15 @@ namespace XericUI.VisualForm
/// <summary>超出屏幕</summary>
OutOfScreen = 1 << 1
}
/// <summary>
/// 安全区坐标单位
/// </summary>
public enum SafeZoneUnit
{
/// <summary>像素(Canvas本地空间绝对值)</summary>
Pixel,
/// <summary>屏幕比例(0-1,相对于Canvas尺寸)</summary>
Ratio
}
}