Exemple #1
0
 public void MoveY(int dy)
 {
     Points.ForEach(p => p.y         += dy);
     NoRotatePoints.ForEach(p => p.y += dy);
     RotatePoint.Y += dy;
 }
Exemple #2
0
 public void MoveX(int dx)
 {
     Points.ForEach(p => p.x         += dx);
     NoRotatePoints.ForEach(p => p.x += dx);
     RotatePoint.X += dx;
 }