public MSTextField ( String text, Rectangle boundingRectangle, MSAction onEnter, MSGUITypable onTab, int maxTextLength, SpriteFont spriteFont, Color color, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System |
text |
String |
the initial text this MSTextField contains |
boundingRectangle |
Microsoft.Xna.Framework.Rectangle |
the bounding Rectangle of this MSTextField |
onEnter |
MSAction |
the MSAction to perform when this MSTextField is focused and the Enter key has been pressed |
onTab |
MSGUITypable |
the MSGUITypable that will be given the keyboard focus when this MSTextField is focused and the Tab key has been pressed |
maxTextLength |
int |
the maximum length of the text that this MSTextField can contain |
spriteFont |
Microsoft.Xna.Framework.Graphics.SpriteFont |
the SpriteFont that will be used to draw the text on this MSTextField |
color |
Color |
the text color of this MSTextField |
spriteBatch |
Microsoft.Xna.Framework.Graphics.SpriteBatch |
the SpriteBatch that will draw this MSTextField |
game |
Microsoft.Xna.Framework.Game |
the Game where this MSTextField will be used |
return |
System |
|