Aligning text: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
brd.create('text', [3, 5, "Anchor right"], {anchorX:'right', cssClass:'mytext'}); | brd.create('text', [3, 5, "Anchor right"], {anchorX:'right', cssClass:'mytext'}); | ||
brd.create('text', [1, 2, "Multiline text<br>default"], {cssClass:'mytext'}); | brd.create('text', [1, 2, "Multiline text<br>default"], {cssClass:'mytext'}); | ||
brd.create('text', [2, 2, "Multiline text<br>Anchor bottom"], {anchorY:'bottom', cssClass:'mytext'}); | brd.create('text', [2.2, 2, "Multiline text<br>Anchor bottom"], {anchorY:'bottom', cssClass:'mytext'}); | ||
brd.create('text', [3, 2, "Multiline text<br>Anchor middle"], {anchorY:'middle', cssClass:'mytext'}); | brd.create('text', [3.4, 2, "Multiline text<br>Anchor middle"], {anchorY:'middle', cssClass:'mytext'}); | ||
brd.create('text', [4, 2, "Multiline text<br>anchor top"], {anchorY:'top', cssClass:'mytext'}); | brd.create('text', [4.6, 2, "Multiline text<br>anchor top"], {anchorY:'top', cssClass:'mytext'}); | ||
</jsxgraph> | </jsxgraph> |
Revision as of 07:47, 19 October 2012