How to create plane with rounded edges?

Hi all! A quick question for all of you here. I’m trying to create a simple 2D plane but with rounded edges (something like example image below). I can’t find anything in the docs that lets me do this so hoping somebody here knows of a method to do this? The simpler the better.

one way

currently lies in horizontal plane.



Thanks guys! Exactly what I needed