Meaning of "Painter"

A short piece of rope secured in the bow of a small boat used for making her fast.

Painter Meaning of