raphael
raphael copied to clipboard
JavaScript Vector Library
When documentElement.scrollTop is 0
This statement leaves x-axis pointing towards right right: Raphael.matrix(1, 0, 0, 1, xOffset, yOffset); where as this: Raphael.matrix(1, 0, 0, -1, xOffset, yOffset); Seems to invert the x-axis. From my...
I have noticed an unusual behaviour; I'm not sure if it's a bug, if the documentation is ambiguous, or if I've simply misunderstood something. When I create a set and...
Hello, I wanted to report something I found, hope it's not a fail at my end. I load the Raphael in a parent window and use it in same-origin iframe...
I've noticed that the isPointInside function returns an incorrect value if the given y coordinate intersects with the y coordinate of a vertex. I've managed to fix this on my...
Since arc is quite a commonly used function, why not add it to Raphael?
in the reference, a transformation can be done like below // if you want you can append or prepend transformations el.transform("...t50,50"); I think that's the way to move a shape...
Example: var circle = paper.circle(100, 56, 50); circle.getPath(); ---> (Returns a path with string: "M100,56M100,6C138.49001794597504,6.000000000000003,162.54627916220946,47.66666666666667,143.30127018922195,81C134.36963044151787,96.47005383792515,117.86327949540818,106,100,106C61.50998205402496,106,37.453720837790556,64.33333333333334,56.69872981077806,31.000000000000014C65.63036955848214,15.529946162074857,82.13672050459182,6.0000000000000036,100,6C100,6,100,6,100,6" ) circle.transform('s0.5'); circle.getPath(); ---> (Returns the same string above) Once the element is transformed, its...
Call transform may crash in old browsers IE = 8.
once the fill is set to a image url, it doesn't get removed if the fill is set to a colour later on
Once an element's fill attribute is set to a image url as shown in the line below : el.attr({fill:"url('/abc.png')"}); the following statement given below executed after the above statement should...