Thanks to answer so kindly. Now I have the following problem. I would have a glider on an ellipse. Apparently no problem. But I want my ellipse to have some part dashed and some not. So I tried
var pe1 = board.create('point',[-11.3,-4], {name:'',size: 1, visible:false});
var pe2 = board.create('point',[-13.7,-4], {name:'',size: 1, visible:false});
var pe3 = board.create('point',[-12.5,-4.4], {name:'',size: 1, visible:false});
var el1 = board.create('ellipse',[pe1,pe2,pe3,0,2*Math.PI]);
var el2 = board.create('ellipse',[pe1,pe2,pe3,Math.PI,2*Math.PI]);
var el = board.create('group',[el1,el2]);
var glc1 = board.create('glider',[-12.45,-2.75,el],{name:'',size: 1});
but this return an error. What can I do ?
I found a solution but it is not elegant. I trace the full ellipse and associate the Glider with it but I set the visible parameter to false and thne I trace my two parts. Is there a better way?