Which Method Is Best?
In most cases, using the Rounded Rectangle tool with “Snap to Pixel”
turned on will give great results and be the quickest method. If you’d like
the ability to change the corner radius without redrawing, then the stroke
method is the one to use.
However, as seen below, each method yields different results. So,
depending on what you’re after, you may need to use a combination of
methods.