Aligning text: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 3: Line 3:


     brd.create('text', [3, 8, "Default"]);
     brd.create('text', [3, 8, "Default"]);
    brd.create('text', [3, 7, "Anchor left"], {anchorX:'left'});
    brd.create('text', [3, 6, "Anchor middle"], {anchorX:'middle'});
    brd.create('text', [3, 5, "Anchor right"], {anchorX:'right'});
    brd.create('text', [3, 4, "multiline text<br>default"]);
</jsxgraph>
</jsxgraph>



Revision as of 07:39, 19 October 2012

The underlying JavaScript code