public static void Draw(GfxStr gfx, params Color[] cs) { for (int i = 0; i < cs.Length; i++) { Draw(gfx, cs[i]); } }
public static void DrawString(string s, Point p, Color c, Color BackGroundColor) { GfxStr t = new GfxStr(s, p, 3); Filter.Absolute(t, BackGroundColor); t.Draw(c); }
public static void Draw(GfxStr gfx, Color c) => spriteBatch.DrawString(gfx.Texture, gfx.Text, new Vector2(gfx.Pos.X + gfx.Edge, gfx.Pos.Y + gfx.Edge), c);
public static void DrawString(string s, Point p, Color c) { GfxStr t = new GfxStr(s, p); t.Draw(c); }