Source/Presentation/SizeInfo.cs
(完整代码) 1KBusing System;
using System.Text;
namespace DevComponents.DotNetBar.Presentation
{
/// <summary>
/// Describes shape size.
/// </summary>
internal class SizeInfo
{
/// <summary>
/// Gets or sets the width of the shape. When RelativeWidth is specified then number specifed here is added to the actual shape width.
/// </summary>
public int Width = 0;
/// <summary>
/// Gets or sets the height of the shape. When RelativeHeight is specified the number specified here is added to the actual shape height.
/// </summary>
public int Height = 0;
/// <summary>
/// Gets or sets the relative shape width.
/// </summary>
public eRelativeSize RelativeWidth = eRelativeSize.NotSet;
/// <summary>
/// Gets or sets the relative shape height.
/// </summary>
public eRelativeSize RelativeHeight = eRelativeSize.NotSet;
}
internal enum eRelativeSize
{
NotSet,
Width,
Height
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。