I have this for which I put some images from left to right.
with this arrangement.
arrText = [435, 820, 795, 915];
var scala = 7.5;
if (check.checked & Bminus == '1') {
for (var i = 0; i < arrText.length; i++) {
parseFloat(arrText[i]);
distancia = (arrText[i] + (aux)) / scala;
distancia = parseInt(distancia);
distanciaPosicion = distancia;
sumPosicion = (distanciaPosicion + 60);
sumPosicion = parseInt(sumPosicion);
aux = aux + arrText[i];
var image = document.getElementById('screem');
ctx.drawImage(image, sumPosicion, 67);
}
}
What I am trying to do is to place them on the canvas from right to left, that is, to put the image on the contrary