Advertisement

How to create Zooming of Images in Sketchware

How to create Zooming of Images in Sketchware Hello friends in this video we have shown How to create Zooming of Images in Sketchware. Hope you all will like the video. Do like the video. Also do subscribe our channel for more such videos. Hope you will learn something new from the video. Also if you get any issues in this then do bring it into our notice so that we can solve it.

The code used:-

Zooming In:

float x=_img.getScaleX(), y=_img.getScaleY(),yenix=x+1,yeniy=y+1; _img.setScaleX(yenix);_img.setScaleY(yeniy);

Zooming Out:

float x=_img.getScaleX(), y=_img.getScaleY(),yenix=x-1,yeniy=y-1; _img.setScaleX(yenix);_img.setScaleY(yeniy);

#sketchware #scratch #android #app

Sketchware

Post a Comment

0 Comments