C# 클래스 SadConsole.CellAppearance

상속: ICellAppearance
파일 보기 프로젝트 열기: Thraka/SadConsole 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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 ( ) : CellAppearance

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.

메소드 상세

CellAppearance() 공개 메소드

Creates a new instance of the cell appearance with a white foreground and transparent background.
public CellAppearance ( ) : System.Runtime.Serialization
리턴 System.Runtime.Serialization

CellAppearance() 공개 메소드

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 ) : 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.
리턴 System.Runtime.Serialization

CellAppearance() 공개 메소드

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.
리턴 System.Runtime.Serialization

CellAppearance() 공개 메소드

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, 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.
리턴 System.Runtime.Serialization

Clone() 공개 메소드

Creates a new copy of this cell appearance.
public Clone ( ) : CellAppearance
리턴 CellAppearance

CopyAppearanceTo() 공개 메소드

Applies this appearance instance values to the destination appearance.
public CopyAppearanceTo ( ICellAppearance destination ) : void
destination ICellAppearance The target of the appearance copy.
리턴 void

SwapColors() 공개 메소드

Swaps the foreground and background colors.
public SwapColors ( ) : void
리턴 void