public static void DrawString(this SpriteBatch spriteBatch, BitmapFont font, StringBuilder text, Vector2 position, Color color, Rectangle?clippingRectangle = null) { DrawString(spriteBatch, font, text, position, color, rotation: 0, origin: Vector2.Zero, scale: Vector2.One, effect: SpriteEffects.None, layerDepth: 0, clippingRectangle: clippingRectangle); }
public StringBuilderGlyphEnumerable(BitmapFont font, StringBuilder text, Point2?position) { _enumerator = new StringBuilderGlyphEnumerator(font, text, position); }
public static void DrawString(this SpriteBatch spriteBatch, BitmapFont font, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effect, float layerDepth, Rectangle?clippingRectangle = null) { DrawString(spriteBatch, font, text, position, color, rotation, origin, new Vector2(scale, scale), effect, layerDepth, clippingRectangle); }