Ejemplo n.º 1
0
 public Vector2 MeasureString(StringBuilder stringBuilder, int startIndex, int length)
 {
     return(MeasureString(TextUtils.CreateCharEnumerator(stringBuilder, startIndex, length)));
 }
Ejemplo n.º 2
0
        public void DrawStringEx(XnaFont xnaFont, StringBuilder stringBuilder, int startIndex, int length, Vector2 location, Color color, Vector2 origin)
        {
            IEnumerable <char> e = TextUtils.CreateCharEnumerator(stringBuilder, startIndex, length);

            DrawStringEx(xnaFont, e, location, color, origin, 0);
        }