坞安全区添加比例模式。
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user