Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the VGFlash class.
 /// Clone Constructor. Creates new text that is
 /// identical to the given <see cref="VGText"/>.
 /// </summary>
 /// <param name="oldFlash">Text element to clone.</param>
 private VGFlash(VGFlash oldFlash)
     : base(
         oldFlash.ShapeDrawAction,
         oldFlash.Pen,
         oldFlash.Brush,
         oldFlash.Font,
         oldFlash.FontColor,
         oldFlash.Bounds,
         oldFlash.StyleGroup,
         oldFlash.Name,
         oldFlash.ElementGroup,
         oldFlash.Sound)
 {
     this.IntializeFields();
     this.Filename = oldFlash.Filename;
     this.Filepath = oldFlash.Filepath;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the VGFlash class.
 /// Clone Constructor. Creates new text that is
 /// identical to the given <see cref="VGText"/>.
 /// </summary>
 /// <param name="oldFlash">Text element to clone.</param>
 private VGFlash(VGFlash oldFlash)
   : base(
   oldFlash.ShapeDrawAction,
   oldFlash.Pen,
   oldFlash.Brush,
   oldFlash.Font,
   oldFlash.FontColor,
   oldFlash.Bounds,
   oldFlash.StyleGroup,
   oldFlash.Name,
   oldFlash.ElementGroup,
   oldFlash.Sound)
 {
   this.IntializeFields();
   this.Filename = oldFlash.Filename;
   this.Filepath = oldFlash.Filepath;
 }
Esempio n. 3
0
 /// <summary>
 /// Starts new flash object by setting the <see cref="VGFlash"/>
 /// in the <see cref="newShape"/> field.
 /// Then calls <see cref="StartCreation(Cursor)"/>.
 /// </summary>
 /// <param name="flash">The <see cref="VGFlash"/> to be added to the <see cref="Picture"/></param>
 public void NewFlashStart(VGFlash flash)
 {
   this.newShape = flash;
   this.StartCreation(CustomCursors.Image);
 }