Polygon: Translate...

Translates the selected Polygon over the given vector.

Given the old coordinates (xi, yi) and the translation (xt,yt), the new coordinates are:

xi′ = xi + xt
yi′ = yi + yt

© djmw, April 18, 2010