Show dashed lines instead of solid lines
-
I am trying to show dashed lines instead of solid ones ina afamily tree using the plugin. In the codes I found a function –
function drawLine(iXFrom, iYFrom, iXTo, iYTo) {
m_Canvas.path(“M” + iXFrom + ” ” + iYFrom + “L” + iXTo + ” ” + iYTo);
}This in returns another raphael js library function –
paperproto.path = function(pathString) {
pathString && !R.is(pathString, string) && !R.is(pathString[0], array) && (pathString += E);
return thePath(R.format[apply](R, arguments), this);
};This again returns a output from function –
var thePath = function(pathString, SVG) {
var el = $(“path”);
SVG.canvas && SVG.canvas[appendChild](el);
var p = new Element(el, SVG);
p.type = “path”;
setFillAndStroke(p, {
fill: “none”,
stroke: “#000”,
path: pathString
});
return p;
};But I am not able to set the parameter to display dashed lines instead of solid.
Any help?
- The topic ‘Show dashed lines instead of solid lines’ is closed to new replies.