コード例 #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)
 {
 }