moveTo(num x, num y) { currentPoint .set(x.toDouble(), y.toDouble()); // TODO consider referencing vectors instead of copying? return this; }