M
M
Mark Ivanych2015-08-29 15:47:37
JavaScript
Mark Ivanych, 2015-08-29 15:47:37

How to draw an arbitrary transparent shape in canvas?

Hello, in the jsfiddle.net/yd7Wv/8987 example, I drew a background, and on it I displayed two transparent circles that resemble a hole in the background.
Help draw some kind of figure, for example, using lineTo, with the same effect.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question