javascript - How to flip a path drawn on HTML canvas -


I am trying to draw a drawing drawn on canvas . Please see the code. Please note that 'L' is coming in code if I code ctx.scale (1, -1); is denied anything, so nothing is provided.

When you flip the canvas, the path is pulled out of the canvas area, you can also translate the canvas To do:

  ctx.translate (0, canvas.height);   

Like.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -