Using the Stroke with Brush feature, you can automatically convert the outline of any image layer, path, shape or selection into a brush stroke. Once you apply the stroke, you'll see its live preview and how it changes as you switch between different brushes or make adjustments to the specific brush settings.
Do one of the following:
You can customize the brush stroke using the basic or advanced brush settings, just like you would with a regular brush. See Edit a brush to learn more.
Note that some of the stylus-related settings, like the ones in the Stroke or Dynamics categories, cannot be edited.
Simulate Pressure: You can use Simulate Pressure to take into account the brush pressure settings. The Max Pressure Location slider lets you set the location where brush stroke is the thickest or thinnest as if drawing with a graphics tablet.