

def stroke(self):
    if (len(self.pathStr) == 0):
        return
    shapeStr = []
    shapeStr.append('<v:shape style="position:absolute;width:10;height:10;" coordsize="100,100" filled="f" strokecolor="')
    shapeStr.append(str(self.context.strokeStyle))
    shapeStr.append('" strokeweight="')
    shapeStr.append(str(self.context.lineWidth))
    shapeStr.append('px" path="')
    shapeStr.append(self.pathStr.join())
    shapeStr.append(' e"><v:stroke opacity="')
    shapeStr.append(str((self.context.globalAlpha * self.context.strokeAlpha)))
    self.append('" miterlimit="')
    shapeStr.append(str(self.context.miterLimit))
    shapeStr.append('" joinstyle="')
    shapeStr.append(self.context.lineJoin)
    shapeStr.append('" endcap="')
    shapeStr.append(self.context.lineCap)
    shapeStr.append('"></v:stroke></v:shape>')
    self.insert(self.context.globalCompositeOperation, ''.join(shapeStr))

dataset/ETHPy150Open anandology/pyjamas/library/gwt/Canvas/GWTCanvasImplIE6.py GWTCanvasImplIE6.stroke/VarMisuse@123/196 `shapeStr`->`self`