# set the stroke color to black
stroke(0)
# set no fill
fill(None)
# set a stroke width
strokeWidth(30)
# set a miter limit
miterLimit(30)
# create a bezier path
path = BezierPath()
# move to a point
path.moveTo((100, 100))
# line to a point
path.lineTo((100, 600))
path.lineTo((160, 100))
# set a line join style
lineJoin("miter")
# draw the path
drawPath(path)
# translate the canvas
translate(300, 0)
# set a line join style
lineJoin("round")
# draw the path
drawPath(path)
# translate the canvas
translate(300, 0)
# set a line join style
lineJoin("bevel")
# draw the path
drawPath(path)