-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathICellAppearance.cs
33 lines (30 loc) · 958 Bytes
/
ICellAppearance.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Drawing;
namespace SadConsole
{
/// <summary>
/// Describes the appearance of a cell. This includes the foreground and background colors, and the effect.
/// </summary>
public interface ICellAppearance
{
/// <summary>
/// The foreground color.
/// </summary>
Color Foreground { get; set; }
/// <summary>
/// The background color.
/// </summary>
Color Background { get; set; }
/// <summary>
/// The character index from a font sheet.
/// </summary>
int GlyphIndex { get; set; }
///// <summary>
///// The SpriteBatch sprite mirror effect used when rendering the cell.
///// </summary>
//SpriteEffects SpriteEffect { get; set; }
/// <summary>
/// Copy the current appearance to another.
/// </summary>
void CopyAppearanceTo(ICellAppearance destination);
}
}