Function to draw just one side of a component such Card
: the width of the border to color
: the color of the border
: the shape of the border