C# Class SadConsole.StringParser.ParseCommandRecolor

Recolors a glyph.
Inheritance: ParseCommandBase
Show file Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
A byte
B byte
Counter int
Default bool
G byte
KeepAlpha bool
KeepBlue bool
KeepGreen bool
KeepRed bool
R byte

Public Methods

Method Description
Build ( ColoredGlyph &glyphState, ColoredGlyph glyphString, int surfaceIndex, ITextSurface surface, SurfaceEditor editor, int &stringIndex, string processedString, ParseCommandStacks commandStack ) : void
ParseCommandRecolor ( ) : System
ParseCommandRecolor ( string parameters ) : System

Method Details

Build() public method

public Build ( ColoredGlyph &glyphState, ColoredGlyph glyphString, int surfaceIndex, ITextSurface surface, SurfaceEditor editor, int &stringIndex, string processedString, ParseCommandStacks commandStack ) : void
glyphState ColoredGlyph
glyphString ColoredGlyph
surfaceIndex int
surface ITextSurface
editor SadConsole.Consoles.SurfaceEditor
stringIndex int
processedString string
commandStack ParseCommandStacks
return void

ParseCommandRecolor() public method

public ParseCommandRecolor ( ) : System
return System

ParseCommandRecolor() public method

public ParseCommandRecolor ( string parameters ) : System
parameters string
return System

Property Details

A public property

public byte A
return byte

B public property

public byte B
return byte

Counter public property

public int Counter
return int

Default public property

public bool Default
return bool

G public property

public byte G
return byte

KeepAlpha public property

public bool KeepAlpha
return bool

KeepBlue public property

public bool KeepBlue
return bool

KeepGreen public property

public bool KeepGreen
return bool

KeepRed public property

public bool KeepRed
return bool

R public property

public byte R
return byte