yes its the same logic:
- for a closed path, wrapping makes complete sense
- for an open path, you shouldn't be sending anything bigger than the size anyway, it logically doesn't make sense I think, so the % should never be called. But I could use a clamp instead if it makes you happy :)