+1
Image masking
Do you have some sample wire on image masking with canvas. we are basically trying to create a scratch off feature.
Сервис поддержки клиентов работает на платформе UserEcho
Сервис поддержки клиентов работает на платформе UserEcho
Adding a mask should be just as easy as this:
<wire>
<main>
<panel name="case" alias="CASE" width="100%" height="100%" background="ff0000">
<canvas name="canvas" align="center" valign="center" width="600" height="400" maskimage="graphics/panelBackground1.png" pencolor="f0f0f0" stroke="yes" pensize="30"/>
</panel>
</main>
</wire>