border

Could someone tell me how to add a border to irregular shapes?