Hello, i created a custom shape as below:
However, don’t want the lines that are generated in path figure as highlighted
How do i go about this ?Please help on this.
If I try without creating PathFigure Object… it gives me an error.
Below is my code:
go.Shape.defineFigureGenerator(“Ring”, function(shape, w, h) {
var geo = new go.Geometry();
var fig = new go.PathFigure(w,w/2-10, true);
geo.add(fig);
fig.add(new go.PathSegment(go.PathSegment.Arc, 0, 360, 30, 30, 25, 25).close());
fig.add(new go.PathSegment(go.PathSegment.Arc, 0, 360, 40, 60, 20, 20).close());
fig.add(new go.PathSegment(go.PathSegment.Arc, 0, 360, 55, 30, 25, 25).close());
return geo;
});