public Label ( String text, |
||
text | String | |
font | ||
pos | Vector2 | |
center | Vector2 | |
color | Color | |
return | System |
public Label(String text, SpriteFont font, Vector2 pos, Vector2 center = default(Vector2), Color? color = null)
{
this.pos = pos;
this.center = center;
this.text = text;
this.font = font;
this.color = color ?? Color.White;
}