Start / stop editing:
Save / load canvas:
drawer.api.setBackgroundImage(image)
drawer.api.setBackgroundImageByUrl(url) 1 : https://carstenschaefer.github.io/DrawerJs/examples/assets/bg.jpg 2 : https://carstenschaefer.github.io/DrawerJs/examples/assets/bg2.jpg 3 : https://carstenschaefer.github.io/DrawerJs/examples/assets/bg3.jpg
drawer.api.addImage(image)
drawer.api.addImageByUrl(url) 1 : https://carstenschaefer.github.io/DrawerJs/examples/assets/bg.jpg 2 : https://carstenschaefer.github.io/DrawerJs/examples/assets/bg2.jpg 3 : https://carstenschaefer.github.io/DrawerJs/examples/assets/bg3.jpg
Pencil Eraser Text Line ArrowOneSide ArrowTwoSide Triangle Rectangle Circle Image BackgroundImage Polygon
Color ShapeBorder BrushSize
Resize ShapeContextMenu CloseButton MovableFloatingMode
Zoom:
Zoom x center point:
Zoom y center point:
Turn fullscreen mode on: