public void AddEllipse() { var newEllipse = new DnaEllipse(tool); newEllipse.Init(); Shapes.Add(newEllipse); SetDirty(); }
public virtual DnaShape Clone() { var newCirc = new DnaEllipse(tool); newCirc.origin = origin.Clone(); newCirc.Brush = Brush.Clone(); newCirc.rx = rx; newCirc.ry = ry; return newCirc; }
public virtual DnaShape Clone() { var newCirc = new DnaEllipse(tool); newCirc.origin = origin.Clone(); newCirc.Brush = Brush.Clone(); newCirc.rx = rx; newCirc.ry = ry; return(newCirc); }