Difference between revisions of "Tape measure"

From JSXGraph Wiki
Jump to navigationJump to search
Line 4: Line 4:
 
var p2 = board.create('point', [1,1]);
 
var p2 = board.create('point', [1,1]);
 
var p3 = board.create('point', [2,1]);
 
var p3 = board.create('point', [2,1]);
var tape = board.create('tapemeasure', [[1, 2], [3, 2]], {name:'dist'});
+
var tape = board.create('tapemeasure', [[0, 2], [2, 2]], {name:'dist'});
 
</jsxgraph>
 
</jsxgraph>
  

Revision as of 12:33, 14 March 2013

The JavaScript code

[[Category::Examples]] [[Category::Geometry]]