C# Class SadConsole.StringParser.ParseCommandGradient

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

Public Properties

Property Type Description
Counter int
GradientString ColoredString
Length int

Public Methods

Method Description
Build ( ColoredGlyph &glyphState, ColoredGlyph glyphString, int surfaceIndex, ITextSurface surface, SurfaceEditor editor, int &stringIndex, string processedString, ParseCommandStacks commandStack ) : void
ParseCommandGradient ( ) : System
ParseCommandGradient ( 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

ParseCommandGradient() public method

public ParseCommandGradient ( ) : System
return System

ParseCommandGradient() public method

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

Property Details

Counter public property

public int Counter
return int

GradientString public property

public ColoredString GradientString
return ColoredString

Length public property

public int Length
return int