# Difference between revisions of "Shadows"

From JSXGraph Wiki

A WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 1: | Line 1: | ||

<jsxgraph width="500" height="500"> | <jsxgraph width="500" height="500"> | ||

− | var p1, p2, c, | + | var p1, p2, c, li, |

board = JXG.JSXGraph.initBoard('jxgbox', {originX: 150, originY: 300, unitX: 25, unitY: 25}); | board = JXG.JSXGraph.initBoard('jxgbox', {originX: 150, originY: 300, unitX: 25, unitY: 25}); | ||

Line 7: | Line 7: | ||

c = board.createElement('circle',['A','B'], {shadow:true}); | c = board.createElement('circle',['A','B'], {shadow:true}); | ||

+ | li = board.createElement('line',['A','B'], {shadow:true}); | ||

</jsxgraph> | </jsxgraph> |