C# Class Nez.FontCharacterSource

helper that wraps either a string or StringBuilder and provides a common API to read them for measuring/drawing
Show file Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
Length int

Public Methods

Method Description
FontCharacterSource ( StringBuilder builder ) : System
FontCharacterSource ( string s ) : System
this ( int index ) : char

Method Details

FontCharacterSource() public method

public FontCharacterSource ( StringBuilder builder ) : System
builder StringBuilder
return System

FontCharacterSource() public method

public FontCharacterSource ( string s ) : System
s string
return System

this() public method

public this ( int index ) : char
index int
return char

Property Details

Length public property

public int Length
return int