Property | Type | Description |
---|
Method | Description | |
---|---|---|
CellAppearance ( ) : System.Runtime.Serialization |
Creates a new instance of the cell appearance with a white foreground and transparent background.
|
|
CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background ) : System.Runtime.Serialization |
Creates a new instance of the cell appearance with the specified colors and effect.
|
|
CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, int glyphIndex ) : System.Runtime.Serialization |
Creates a new instance of the cell appearance with the specified colors and effect.
|
|
CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, int glyphIndex, SpriteEffects spriteEffect ) : System.Runtime.Serialization |
Creates a new instance of the cell appearance with the specified colors and effect.
|
|
Clone ( ) : |
Creates a new copy of this cell appearance.
|
|
CopyAppearanceTo ( ICellAppearance destination ) : void |
Applies this appearance instance values to the destination appearance.
|
|
SwapColors ( ) : void |
Swaps the foreground and background colors.
|
public CellAppearance ( ) : System.Runtime.Serialization | ||
return | System.Runtime.Serialization |
public CellAppearance ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background ) : 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. |
return | System.Runtime.Serialization |
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 ( Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, int glyphIndex, SpriteEffects spriteEffect ) : 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. |
spriteEffect | SpriteEffects | The sprite mirror effect of the cell appearance. |
return | System.Runtime.Serialization |
public CopyAppearanceTo ( ICellAppearance destination ) : void | ||
destination | ICellAppearance | The target of the appearance copy. |
return | void |