Canvas desenhou reto tracejado
context.setLineDash([6]);
context.strokeRect(0, 0, 50, 50);
Pleasant Pigeon
context.setLineDash([6]);
context.strokeRect(0, 0, 50, 50);