The mask outline selected here can be used as line data (border) in Step 4.
Select Mask dialog box.
Check Mask Shape/Modify Image dialog box