line breaks in canvas html code example Example: js canvas line end ctx.lineCap = "butt" || "round" || "square";