pass linepattern from parser to line painter
pass LinePattern in stops function
use pattern function values
create stops function using maxStretch