pathTo

fun pathTo(fraction: Double): List<GeoPosition>

What the pen has drawn at fraction of the way round: the corners it has passed, then the point it is at. At 0 that is only the start (too little for a line: the caller shows nothing yet), at 1 the whole outline, ending on the start again. Between two corners the last point is on the arc WWK draws between them, so the line it makes with the corner before is the drawn edge cut short.