I like it move it move it

This commit is contained in:
Oleksandr Bezdieniezhnykh
2024-05-18 17:51:38 +03:00
parent de77c9236f
commit dd0ece36f2
33 changed files with 0 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
using System.Windows.Media;
using Azaion.Annotator.Extensions;
namespace Azaion.Annotator.DTO;
public class AnnotationClass(int id, string name = "")
{
public int Id { get; set; } = id;
public string Name { get; set; } = name;
public Color Color { get; set; } = id.ToColor();
public int ClassNumber => Id + 1;
public SolidColorBrush ColorBrush => new(Color);
}