Exemplo n.º 1
0
 public static string ToFormatString(this ColorWithValue color)
 {
     return($"{color.Name}: {color.Hex}");
 }
 public RectangleColorViewModel(ColorWithValue color, Size size, Point point = default)
 {
     Color    = color;
     Position = point;
     Size     = size;
 }