// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/

namespace BootstrapBlazor.Components
{
    /// <summary>
    /// 物体偏移量类
    /// </summary>
    public class Offset
    {
        /// <summary>
        /// 获得/设置 X 轴偏移量
        /// </summary>
        public int Top { get; set; }

        /// <summary>
        /// 获得/设置 Y 轴偏移量
        /// </summary>
        public int Left { get; set; }

        /// <summary>
        /// 获得/设置 宽度
        /// </summary>
        public int Width { get; set; }

        /// <summary>
        /// 获得/设置 高度
        /// </summary>
        public int Height { get; set; }
    }
}
