Exemple #1
0
        public AsciiPen(string str, AsciiColor color)
        {
            if(string.IsNullOrEmpty(str))
                throw new ArgumentException("null or empty string is not allowed", str);

            m_color = color;
            StartCap = string.Empty;
            EndCap = string.Empty;
            String = str;
        }
Exemple #2
0
 public AsciiPen(char character, AsciiColor color)
     : this(character.ToString(), color)
 {
 }
Exemple #3
0
 public void Clear(AsciiColor color)
 {
     m_buffer.Init(color);
     Invalidate(ClientRectangle);
 }
Exemple #4
0
 public void Clear(AsciiColor color)
 {
     m_surface.Clear(color);
 }
Exemple #5
0
 public CellDescription(char character, AsciiColor color)
 {
     Character = character;
     Color = color;
 }