namespace MainShell.Vision
{
    /// <summary>
    /// 匹配结果。
    /// </summary>
    public class VisionMatchResult
    {
        public VisionMatchResult()
        {
        }

        public VisionMatchResult(double offsetX, double offsetY, double angle = 0.0, double score = 1.0)
        {
            OffsetX = offsetX;
            OffsetY = offsetY;
            Angle = angle;
            Score = score;
        }

        /// <summary>
        /// X 偏移量。
        /// </summary>
        public double OffsetX { get; set; }

        /// <summary>
        /// Y 偏移量。
        /// </summary>
        public double OffsetY { get; set; }

        /// <summary>
        /// 角度。
        /// </summary>
        public double Angle { get; set; }

        /// <summary>
        /// 分数。
        /// </summary>
        public double Score { get; set; }

        /// <summary>
        /// 标签。
        /// </summary>
        public string Tag { get; set; }
    }
}
