C# Class Flood.GUI.TextRenderer

显示文件 Open project: FloodProject/flood

Public Methods

Method Description
GetPositionTextIndex ( string text, Font font, float x, int &index ) : bool
MeasureText ( System text, Font font ) : System.Vector2

Private Methods

Method Description
DrawText ( GUIGeometryBuffer geometryBuffer, Font font, System.Vector2 position, String text, System.Color color ) : void
TextRenderer ( ) : System

Method Details

GetPositionTextIndex() public static method

public static GetPositionTextIndex ( string text, Font font, float x, int &index ) : bool
text string
font Font
x float
index int
return bool

MeasureText() public static method

public static MeasureText ( System text, Font font ) : System.Vector2
text System
font Font
return System.Vector2