如何自定义 wheelnav.js 的传播者(使用 svg)

How do I customize wheelnav.js's spreader (with a svg)

我使用 Raphael 的 wheelnav.js and would like to use a SVG I already have, containing two seperate paths, as a spreader. I have found 自定义切片,使用 wheelnav 中已有的函数进行绘图,但不使用 custom/existing SVG 自定义吊具。 提前致谢!

有一个 imgsrc 功能,您可以在其中使用现有的 SVG。

var wheel = new wheelnav("divWheel");
wheel.spreaderEnable = true;
wheel.spreaderInTitle = "imgsrc:intitle.svg";
wheel.spreaderOutTitle = "imgsrc:outtitle.svg";
wheel.spreaderOutTitleHeight = 50;
wheel.spreaderInTitleHeight = 35;
wheel.spreaderRadius = 0;
wheel.createWheel(["This", "is", "a", "sample"]);