Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public static void Draw(GfxStr gfx, params Color[] cs)
 {
     for (int i = 0; i < cs.Length; i++)
     {
         Draw(gfx, cs[i]);
     }
 }
Ejemplo n.º 3
0
        public static void DrawString(string s, Point p, Color c)
        {
            GfxStr t = new GfxStr(s, p);

            t.Draw(c);
        }
Ejemplo n.º 4
0
 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);