Changed paint data in order that each line has color and stroke width.