It seems that opacity:1 doesn't mask what is drawn before the new object. For instance, if I draw a line from a point which is also the center of a circle, I expect that with opacity:1, I will not see the line until the border of the circle.
The opacity does not cover the objects which are below in Jsxgraph
48 Views Asked by cyrille.piatecki At
1
JSXGraph uses a layer model, see https://jsxgraph.org/wiki/index.php/Working_with_layers. Higher layer means, an element is "above" another element. Otherwise, geometry construction would not be possible. You can either set the layer of an element class globally, as in the example, like
or set it on case by case basis: