if you have a shape, like your corner edge, you can define it as a brush and then paint that in a straight line.

I love custom shapes, I make and use them all the time, so these are great to have...