Is there way fixed frame corners not manually?

Very useful, for example, to draw a coupon, set the thickness and dash style... but just two things you are starting to get in the way. 1. your rectangle is hard to operate in full size, and snap factors are calculated only by the middle of the line. 2. the corners of the rectangle when you specify a line often hollow.

 To address the first issue, convert the object into the curves and you put in size (often this is on the edge, and without adjustments if you converting to PDF by the edge part of the line "fly away"), in the second case, manually cover rectangle corners with other rectangles and combine… 

 Is there an easier way to solve the problem?