I've updated the jar and added a method to Polyline called setPercentage(<float> [0..1]); It defines how much of the line is visible (0= nothing, 1=fully visible). Only full segments can be visible/invisible, i.e. if the line contains only one segment, everyhing below 1 will render it invisible.