public void Eigenschap(String naam, Point start, Brush b, DoubleSize grootte) { Grootte = grootte; Eigenschap(naam, start, b); Console.WriteLine(Naam + start + b + grootte); }
public override void Bezig(Graphics g, Point p1, Point p2) { g.DrawEllipse(MaakPen(kwast, 3), TweepuntTool.Punten2Rechthoek(p1, p2)); double Xgrootte; Xgrootte = Math.Abs(p1.X - p2.X); double Ygrootte; Ygrootte = Math.Abs(p1.Y - p2.Y); DoubleSize grootte = new DoubleSize(Xgrootte, Ygrootte); o.Eigenschap(this.GetType().Name, startpunt, kwast, grootte); }