using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Hik.Samples.Scs.IrcChat.Arguments
{
///
/// Represents text style of messages.
///
[Serializable]
public class MessageTextStyle
{
///
/// True, if message is sent as Bold.
///
public bool IsBold { get; set; }
///
/// True, if message is sent as italic.
///
public bool IsItalic { get; set; }
///
/// Font family of message.
///
public string FontFamily { get; set; }
///
/// Message text color.
///
public Color TextColor { get; set; }
///
/// Size of message text.
///
public int TextSize { get; set; }
///
/// Constructor.
///
public MessageTextStyle()
{
FontFamily = "Verdana";
TextColor = new Color {Blue = 255, Green = 255, Red = 255};
TextSize = 12;
}
///
/// Represents a color.
///
[Serializable]
public class Color
{
///
/// Red value of color.
///
public byte Red { get; set; }
///
/// Green value of color.
///
public byte Green { get; set; }
///
/// Blue value of color.
///
public byte Blue { get; set; }
}
}
}