static Point blendPoints(Point x, Point y, double yish) { double xish = 1-yish; ret new Point((int) (x.x*xish+y.x*yish), (int) (x.y*xish+y.y*yish)); } static Pt blendPoints(Pt x, Pt y, double yish) { double xish = 1-yish; ret new Pt((int) (x.x*xish+y.x*yish), (int) (x.y*xish+y.y*yish)); } static Pt blendPoints(Pt x, double xf, Pt y, double yf) { ret new Pt((int) (x.x*xf+y.x*yf), (int) (x.y*xf+y.y*yf)); } static Pt blendPoints(int x1, int y1, int x2, int y2, double yish) { ret blendPoints(new Pt(x1, y1), new Pt(x2, y2), yish); }