public ScriptStyle(string name, Color fore, Color back, Font font) { Name = name; ForegroundColor = ColorSerializetionHelper.Serialize(fore); BackgroundColor = ColorSerializetionHelper.Serialize(back); FontProperties = FontSerializetionHelper.Serialize(font); }
public static Color Deserialize(ColorProperties value) { return(Color.FromArgb(value.Alpha, value.Red, value.Green, value.Blue)); }
public static Color Deserialize(ColorProperties value) { return Color.FromArgb(value.Alpha, value.Red, value.Green, value.Blue); }