protected PointF[] OffsetCoords(PointF[] coords, float dx, float dy) { for (int i = 0; i < coords.Length; ++i) { coords[i].X += dx; coords[i].Y += dy; } return coords; }