Exemplo n.º 1
0
 public Image()
 {
     Path       = Effects = String.Empty;
     FontName   = "Font/logo";
     Position   = Vector2.Zero;
     Scale      = Vector2.One;
     Alpha      = 1.0f;
     SourceRect = Rectangle.Empty;
     fadeEffect = new Effect.Fade();
     effectList = new Dictionary <string, ImageEffect>();
     text       = new List <string>();
     textPos    = new List <Vector2>();
     tColor     = new List <string>();
     listText   = new List <Tuple <string, Vector2, Color> >();
     sloc       = new List <Vector2>();
     curLoc     = 0;
     Name       = string.Empty;
     Type       = string.Empty;
 }
Exemplo n.º 2
0
 public Image(Image copy)
 {
     Path       = copy.Path;
     Effects    = copy.Effects;
     FontName   = copy.FontName;
     Position   = copy.Position;
     Scale      = copy.Scale;
     Alpha      = copy.Alpha;
     SourceRect = copy.SourceRect;
     fadeEffect = copy.fadeEffect;
     effectList = copy.effectList;
     text       = copy.text;
     textPos    = copy.textPos;
     tColor     = copy.tColor;
     listText   = copy.listText;
     sloc       = copy.sloc;
     curLoc     = copy.curLoc;
     Name       = copy.Name;
     Type       = copy.Type;
 }