Skip to content

Layers of objects

mkraska edited this page Oct 14, 2024 · 2 revisions

Default JSXGraph layers

https://jsxgraph.uni-bayreuth.de/wiki/index.php/Working_with_layers

layer : {
    point : 9,
    arc   : 8,
    line  : 7,
    circle: 6, 
    curve : 5,
    polygon: 4,
    sector: 3,
    angle : 2,
    grid  : 1,
    image : 0 
}

Meclib layers

  • defaultMecLayer 6
  • infobox defaultMecLayer+5
  • controlSnapStyle: 11
  • hatchStyle 8
  • beam defaultMecLayer
  • fix1.t fill:7 borders 8
  • fix12.t fill:7 borders 8
  • line 8
  • rope defaultMecLayer

Tryout Space

In order to try code snippets in jsfiddle,

  1. copy the code from the wiki page to the clipboard
  2. follow the link for the JSXGraph version you want to try
  3. Replace the code in the HTML section (contents of <p hidden id="init">) with the content of the clipboard
Clone this wiki locally