Пример #1
0
 public override void Draw(AnimationManager animMan, Graphics g)
 {
     if (Points == null)
     {
         return;
     }
     if (Brush != null)
     {
         g.FillPolygon(Brush, Points);
     }
     if (Pen != null)
     {
         if (PenClosed)
         {
             g.DrawPolygon(Pen, Points);
         }
         else
         {
             g.DrawLines(Pen, Points);
         }
     }
 }
Пример #2
0
 public abstract void Draw(AnimationManager animMan, Graphics g);
Пример #3
0
 public virtual void Update(AnimationManager animMan)
 {
 }