Is it possible to create for example circular hole in rectangle element in Snapsvg? I tryed to use white and black elements and mask function but i cant figure it out. Most results was inverted (i saw only circle with color of rectangle) or no effect at all. And searching google does not helping either - only relevant thing i found was that but when i tryed to replicate it using Snapsvg it did not work so well as i tryed to describe it before (i must admit, im not fully sure if it was mine fault or its because snapsvg mask handling).
Its realy important it will be simple solution using rectangle and not something using paths or simillar things.
What im trying to achieve is simillar to gamemaker surfaces - dark foreground with hole (light) i could see background trought it.
Also im looking for solution which could handle more than one circle hole in element and dynamic position changes.
Thx for any answer, i hope it is even possible.
PS: sorry for my english, im not from english speaking country