DrawText

From King Arthur's Gold Wiki
Revision as of 17:06, 22 August 2012 by Shadlington (Talk | contribs)

Jump to: navigation, search

Draws some text.


As this is GUI-related this is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script.

This method has two variants.

void DrawText( const string &text, recti rect, SColor color, bool HorCenter, bool VerCenter )
void DrawText( const string &text, position2di pos, SColor color )