public virtual JB2Shape Duplicate() { JB2Shape retval = new JB2Shape { Bitmap = Bitmap?.Duplicate(), Parent = Parent, UserData = UserData }; // TODO test bitmap copy logic return(retval); }
public virtual JB2Shape Duplicate() { JB2Shape retval = new JB2Shape { Bitmap = Bitmap?.Duplicate(), Parent = Parent, UserData = UserData }; // TODO test bitmap copy logic //if (retval.Bitmap != null) // retval.Bitmap = retval.Bitmap.Duplicate(); return(retval); }