/// <summary> /// Assigns a new color. /// </summary> public void SetColor(RgbaColor color) { *R = color.R; *G = color.G; *B = color.B; *A = color.A; }
public void SetColor(RgbaColor color) => *Color = color;
public static Color ToColor(RgbaColor color) => Color.FromArgb(color.A, color.R, color.G, color.B);