public static void DrawAlignedString(this SpriteBatch batch, SpriteFont font, string text, Vector2 start, float endX, Color color, Alignment horizontalAlignment)
        {
            Alignment partialAlignment = horizontalAlignment == Alignment.Full ? Alignment.Near : horizontalAlignment;

            batch.DrawAlignedString(font, text, new Rectangle((int)start.X, (int)start.Y, (int)(endX - start.X), (int)start.Y + 100000), color, new BlockAlignment(horizontalAlignment, partialAlignment, Alignment.Near));
        }
 public static void DrawAlignedString(this SpriteBatch batch, SpriteFont font, string text, Vector2 start, Color color, Alignment horizontalAlignment)
 {
     batch.DrawAlignedString(font, text, start, batch.GraphicsDevice.Viewport.Width, color, horizontalAlignment);
 }