C# Class SadConsole.StringParser.ParseCommandRecolor

Recolors a glyph.
Inheritance: ParseCommandBase
Datei anzeigen 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_oe property

public byte A
return byte

B public_oe property

public byte B
return byte

Counter public_oe property

public int Counter
return int

Default public_oe property

public bool Default
return bool

G public_oe property

public byte G
return byte

KeepAlpha public_oe property

public bool KeepAlpha
return bool

KeepBlue public_oe property

public bool KeepBlue
return bool

KeepGreen public_oe property

public bool KeepGreen
return bool

KeepRed public_oe property

public bool KeepRed
return bool

R public_oe property

public byte R
return byte