Translations

English

French

Spanish

Draggable school toolkit

How to add a new tool

The JavaScript class GeomToolFromFile allows one to insert objects defined in SVG files. Example:

	let p = new GeomPaper("canvas_container1", 1000, 600);
	let o3 = new GeomToolFromFile(
	  p, "equerre01",
	  "/usr/share/javascript/schoolkit/equerre01.svg",
	  new DOMPoint(300,150),
	  1);
    

The SVG file must contain

Demo