Beispiel #1
0
 public Circle(IGraphElementHost host)
     : base(host)
 {
     Radius = 5;
     if (Parent != null)
     {
         PPath.AddEllipse(Position.X, Position.Y, Radius, Radius);
     }
     else
     {
         PPath.AddEllipse(0, 0, Radius, Radius);
     }
 }