added join type option to shape.to_outline