示例#1
0
 public ImageTextObject(float x, float y, float scale, Image texture, string text, Color color, Font font)
 {
     containerObject = new ContainerObject(x, y);
     if (texture != null)
         containerObject.Add(scale, texture);
     if (text != null)
         containerObject.Add(new SolidBrush(color), font, text);
 }
示例#2
0
 public ImageTextObject(float x, float y, float scale, Image texture, string text, Color color, Font font)
 {
     containerObject = new ContainerObject(x, y);
     if (texture != null)
     {
         containerObject.Add(scale, texture);
     }
     if (text != null)
     {
         containerObject.Add(new SolidBrush(color), font, text);
     }
 }