All versions of this documentation
Download code Jump to the code Open in the playground

Free drawing

This example shows how you to use Ogma layers to handle canvas, draw on it and automatically synchronize it with the view. Click on the canvas to draw, zoom, and drag to move the view or some object.