public void Move() { if (DependentOn == null) { for (int i = 0; i < vertices; i++) { p[i].x = position.X + relP[i].x; p[i].y = position.Y + relP[i].y; } UpdateScl(); } } public void SetPoint(int point, float x, float y) { SetPoint(point, (double)x, (double)y); } public void SetPoint(int point, double x, double y) { relP[point].x = x; relP[point].y = y; }