using the paint bucket

I used the polyline first then convert it from pencil to brush stroke. Then when I tried to use the paint bucket over the area i wanted to be colored, it wont color.

there is probably a gap, try in the property setting for the paint tool using one of the close gap settings.

You can also use the close gap tool in the paint flyout if you know where the gap is.