Function that draws borders with lines
Function that draws borders from patterns
Function that draws borders from fix image
New implementation of drawBorders

Now handles all three cases.