Border size and color and type can be defined for each side of a rectangle and triangle by opening the border section in the style inspector or style bar. You can choose between solid, dotted or dashed border. For circles, only one border can be defined.
If border gradient is active, only the border size can be set.
Tip: To define a semi-transparent border color use the transparency slider of the color picker.