Files
ATV_STDLabelAttach/Handler/CapCleaningControl/CIcon.cs
2025-07-17 16:11:46 +09:00

29 lines
810 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace UIControl
{
public class CIcon
{
public string Text { get; set; }
public string Tag { get; set; }
public RectangleF Rect { get; set; }
public Boolean Focus { get; set; }
public Boolean Select { get; set; }
public CIcon() : this(string.Empty, RectangleF.Empty) { }
public CIcon(string tag,RectangleF rect)
{
Text = string.Empty;
Tag = tag;
Rect = rect;
}
public float X { get { return Rect.X; } }
public float Y { get { return Rect.Y; } }
public float W { get { return Rect.Width; } }
public float H { get { return Rect.Height; } }
}
}