我找不到任何可以告诉我txBody标签中的文字是否带项目符号的指示器,你能不能指出我应该用哪个指示器来理解文本是否是项目符号?
-谢谢
我正在使用Raphael JS试图围绕低于其中心点的点旋转图像形状.如何才能做到这一点?
我尝试了以下但它不起作用.
var playBBox = playButtonRef.getBBox();
var xPos = playBBox.x + playBBox.width/2;
var yPos = playBBox.y;
var animObject = Raphael.animation({
transform: playButtonRef.attr("transform") + "R60," + (this.cx - 25) + "," + this.cy
}, 3000);?
animObject = animObject.repeat(10);
playButtonRef.animate(animObject);
Run Code Online (Sandbox Code Playgroud)
我也在寻找一种方法将它旋转回原来的位置.如何让它追溯它的路径?
使用GIMP我已经在http://upload.wikimedia.org/wikipedia/commons/9/95/Continents.svg中获得了每个大陆的路径,但是现在我无法弄清楚如何将这个SVG文件转换成类似的东西(摘自https://github.com/thomaspeklak/raphaeljs-worldmap):
你能指导我如何将SVG路径转换为Raphael Path吗?
africa.push(W.path("M13728 10231 c-34 -19 -84 -21 -109 -5 -6 4 -15 1 -19 -5 -5 -9 -14 -9 -35 1 -22 10 -29 10 -33 0 -2 -6 -11 -12 -21 -12 -9 0 -23 -6 -29 -12 -10 -10 -17 -10 -32 0 -27 16 -55 15 -190 -7 -113 -19 -180 -42 -180 -63 0 -5 -7 -8 -15 -5 -8 4 -17 2 -20 -3 -4 -6 -13 -10 -21 …
Run Code Online (Sandbox Code Playgroud)