Cushion Seams

What is the easiest way to create those rounded seams at the edge of a couch cushion