Adding dotted/stroke effect entails selecting _Fill Type: Pattern’ rather than “_Fill Type: Color”. By default, Photoshop provides a range of dotted patterns that you can use. To add custom dot patterns: