public override Drawing Draw(double left = 0.0f, double top = 0.0f)
 {
     if (isVisible)
     {
         return(drawmode.draw(getGeometry(left, top)));
     }
     else
     {
         return(null);
     }
 }
Example #2
0
 public override Drawing Draw(double left = 0.0f, double top = 0.0f)
 {
     if (isVisible)
     {
         DrawingGroup dg = new DrawingGroup();
         if (isCombined)
         {
             dg.Children.Add(backgroundmode.draw(getBorder(left, top)));
         }
         foreach (_graphicpos gp in _list)
         {
             Drawing d = gp.g.Draw(left + gp.left, top + gp.top);
             if (d != null)
             {
                 dg.Children.Add(d);
             }
         }
         return(dg);
     }
     else
     {
         return(null);
     }
 }