How to draw half an ellipse in Raphael JS? -
i've been trying understand following code, don't seem gain control on parameters doing. have draw half ellipse @ location. explain me parameters of path mean in order master shape. thanks.
var curve4 = paper.path("m150,150 a100,70 0 1,1 150,10") .attr({"stroke-width": 2, stroke: "red"});
ok solved syntax:
paper.path("m x_start,y_start width,height rotation 1,direction x_end,y_end")
about 1 between rotation , direction i'm not sure. it's involved in direction bit. created fiddle play around ellipse parameters: https://jsfiddle.net/ansjovis/vgw3vdc8/4/
Comments
Post a Comment