4
I have a canvas on my page and would like to remove the edge.... only I’m not getting... which property works with the edge?
function desenhaBase(canvas, context, x1, y1, x2, y2){
context.fillStyle = "white";
context.beginPath();
context.rect(0, 0, canvas.width, canvas.height);
context.fill();
var message = "x";
context.font = '9pt Arial';
context.fillStyle = 'black';
context.fillText(message, 293, 148);
context.fillRect(0, 149, 300, 1);
var message = "y";
context.font = '9pt Arial';
context.fillStyle = 'black';
context.fillText(message, 3, 9);
context.fillRect(1, 0, 1, 150);
context.fillRect(150, 0, 1, 150);
context.fillRect(0, 149, 300, 1);
context.moveTo(x1,y1);
context.lineTo(x2,y2);
context.strokeStyle = '#ff0000';
context.stroke();
}
I want to build a Cartesian plan..
Perfect old man, thank you very much
– MarceloBoni