SadConsole.CellAppearance.CellAppearance C# (CSharp) Method

CellAppearance() public method

Creates a new instance of the cell appearance with the specified colors and effect.
public CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, int glyphIndex ) : System.Runtime.Serialization
foreground Microsoft.Xna.Framework.Color The foreground color of the cell appearance.
background Microsoft.Xna.Framework.Color The background color of the cell appearance.
glyphIndex int The glyph of the cell appearance.
return System.Runtime.Serialization
        public CellAppearance(Color foreground, Color background, int glyphIndex)
            : this(foreground, background, glyphIndex, SpriteEffects.None)
        {
        }

Same methods

CellAppearance::CellAppearance ( ) : System.Runtime.Serialization
CellAppearance::CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background ) : System.Runtime.Serialization
CellAppearance::CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, int glyphIndex, SpriteEffects spriteEffect ) : System.Runtime.Serialization