public TextBlock (BitmapFont font, float width, string text) { ThreadContext.Current.EnsureGLContext(); _font = font; _width = width; _text = text; _color = Vector4.One; _isDirty = true; }
public TextRun (BitmapFont font, int start, float kerning, Vector4 color) { this.Font = font; this.Start = start; _kerning = kerning; _color = color; _chars = new Stack<BitmapChar> (); }
public TextRun (TextRun other, int start, BitmapFont font) : this(font, start, other._kerning, other._color) { }