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