def _le_butt(self, annot, p1, p2, lr):
m, im, L, R, w, scol, fcol, opacity = self._le_annot_parms(annot, p1, p2)<EOL>shift = <NUM_LIT:3><EOL>d = shift * max(<NUM_LIT:1>, w)<EOL>M = R if lr else L<EOL>top = (M + (<NUM_LIT:0>, -d/<NUM_LIT>)) * im<EOL>bot = (M + (<NUM_LIT:0>, d/<NUM_LIT>)) * im<EOL>ap = "<STR_LIT>" % (opacity, top.x, top.y)<EOL>ap += "<STR_LIT>" % (bot.x, bot.y)<EOL>ap += "<STR_LIT>" % w<EOL>ap += scol + "<STR_LIT>"<EOL>return ap<EOL>
Make stream commands for butt line end symbol. "lr" denotes left (False) or right point.