I am making a whiteboard app, how can I make a zoom button in the space of
to drew.
help please
The AI2 Canvas does not have a zoom facility.
To zoom, you would have to keep track of what was drawn so you can redraw it.
Alternatively, you could try SVG graphics in a Web Viewer.
(The stock Ai2 emulator’s Web Viewer is too old to handle SVG, unfortunately.)
Here is an SVG sample to try on a more modern emulator or device …
webviewer_SVG.aia (3.7 KB)
(The handy direct url feed technique I got from @TimAI2)