Lines Matching refs:params

1481                 var params = [],
1484 b && params.push(+b);
1486 if (name == "m" && params.length > 2) {
1487 data.push([b][concat](params.splice(0, 2)));
1492 data.push([b][concat](params));
1493 } else while (params.length >= paramCounts[name]) {
1494 data.push([b][concat](params.splice(0, paramCounts[name])));
1527 var params = [],
1530 b && params.push(+b);
1532 data.push([b][concat](params));
4612 elproto.animateWith = function (el, anim, params, ms, easing, callback) { argument
4618 var a = params instanceof Animation ? params : R.animation(params, ms, easing, callback),
4747 var params,
4781 params = anim.anim[percent];
4787 if (!params) {
4791 for (var attr in params) if (params[has](attr)) {
4795 to[attr] = params[attr];
4874 var values = Str(params[attr])[split](separator),
4887 values = [][concat](params[attr]);
4898 var easing = params.easing,
4911 timestamp = params.start || anim.start || +new Date;
4926 callback: params.callback,
4967 R.animation = function (params, ms, easing, callback) { argument
4968 if (params instanceof Animation) {
4969 return params;
4975 params = Object(params);
4980 …for (attr in params) if (params[has](attr) && toFloat(attr) != attr && toFloat(attr) + "%" != attr…
4982 p[attr] = params[attr];
4985 return new Animation(params, ms);
5009 elproto.animate = function (params, ms, easing, callback) { argument
5015 var anim = params instanceof Animation ? params : R.animation(params, ms, easing, callback);
5320 setproto.animate = function (params, ms, easing, callback) { argument
5334 var anim = R.animation(params, ms, easing, collector);
5642 R.format = function (token, params) { argument
5643 var args = R.is(params, array) ? [0][concat](params) : arguments;
6051 addDashes = function (o, value, params) { argument
6055 …butt = {round: width, square: width, butt: 0}[o.attrs["stroke-linecap"] || params["stroke-linecap"…
6064 setFillAndStroke = function (o, params) { argument
6069 for (var att in params) {
6070 if (params[has](att)) {
6074 var value = params[att];
6224 addDashes(o, attrs["stroke-dasharray"], params);
6232 addDashes(o, value, params);
6261 delete params.gradient;
6264 R.is(params.opacity, "undefined") &&
6267 R.is(params["fill-opacity"], "undefined") &&
6321 tuneText(o, params);
6325 tuneText = function (el, params) { argument
6326 …f (el.type != "text" || !(params[has]("text") || params[has]("font") || params[has]("font-size") |…
6333 if (params[has]("text")) {
6334 a.text = params.text;
6338 var texts = Str(params.text).split("\n"),
6798 var params = {};
6799 params[name] = value;
6801 params = name;
6803 for (var key in params) {
6804 eve("raphael.attr." + key + "." + this.id, this, params[key]);
6806 …his.paper.customAttributes) if (this.paper.customAttributes[has](key) && params[has](key) && R.is(…
6807 var par = this.paper.customAttributes[key].apply(this, [].concat(params[key]));
6808 this.attrs[key] = params[key];
6810 params[subkey] = par[subkey];
6813 setFillAndStroke(this, params);
7281 setFillAndStroke = function (o, params) { argument
7288params.x != a.x || params.y != a.y || params.width != a.width || params.height != a.height || para…
7289 …= ovalTypes[o.type] && (a.cx != params.cx || a.cy != params.cy || a.r != params.r || a.rx != param…
7293 for (var par in params) if (params[has](par)) {
7294 a[par] = params[par];
7300 params.href && (node.href = params.href);
7301 params.title && (node.title = params.title);
7302 params.target && (node.target = params.target);
7303 params.cursor && (s.cursor = params.cursor);
7304 "blur" in params && o.blur(params.blur);
7305 if (params.path && o.type == "path" || newpath) {
7313 "transform" in params && o.transform(params.transform);
7322 if ("clip-rect" in params) {
7323 var rect = Str(params["clip-rect"]).split(separator);
7341 if (!params["clip-rect"]) {
7347 params.font && (textpathStyle.font = params.font);
7348params["font-family"] && (textpathStyle.fontFamily = '"' + params["font-family"].split(",")[0].rep…
7349 params["font-size"] && (textpathStyle.fontSize = params["font-size"]);
7350 params["font-weight"] && (textpathStyle.fontWeight = params["font-weight"]);
7351 params["font-style"] && (textpathStyle.fontStyle = params["font-style"]);
7353 if ("arrow-start" in params) {
7354 addArrow(res, params["arrow-start"]);
7356 if ("arrow-end" in params) {
7357 addArrow(res, params["arrow-end"], 1);
7359 if (params.opacity != null ||
7360 params["stroke-width"] != null ||
7361 params.fill != null ||
7362 params.src != null ||
7363 params.stroke != null ||
7364 params["stroke-width"] != null ||
7365 params["stroke-opacity"] != null ||
7366 params["fill-opacity"] != null ||
7367 params["stroke-dasharray"] != null ||
7368 params["stroke-miterlimit"] != null ||
7369 params["stroke-linejoin"] != null ||
7370 params["stroke-linecap"] != null) {
7375 if (o.type == "image" && params.src) {
7376 fill.src = params.src;
7378 params.fill && (fill.on = true);
7379 if (fill.on == null || params.fill == "none" || params.fill === null) {
7382 if (fill.on && params.fill) {
7383 var isURL = Str(params.fill).match(R._ISURL);
7397 fill.color = R.getRGB(params.fill).hex;
7400 …if (R.getRGB(params.fill).error && (res.type in {circle: 1, ellipse: 1} || Str(params.fill).charAt…
7402 a.gradient = params.fill;
7407 if ("fill-opacity" in params || "opacity" in params) {
7408 …ill-opacity"] + 1 || 2) - 1) * ((+a.opacity + 1 || 2) - 1) * ((+R.getRGB(params.fill).o + 1 || 2) …
7419 if ((params.stroke && params.stroke != "none") ||
7420 params["stroke-width"] ||
7421 params["stroke-opacity"] != null ||
7422 params["stroke-dasharray"] ||
7423 params["stroke-miterlimit"] ||
7424 params["stroke-linejoin"] ||
7425 params["stroke-linecap"]) {
7428 …(params.stroke == "none" || params.stroke === null || stroke.on == null || params.stroke == 0 || p…
7429 var strokeColor = R.getRGB(params.stroke);
7430 stroke.on && params.stroke && (stroke.color = strokeColor.hex);
7432 var width = (toFloat(params["stroke-width"]) || 1) * .75;
7434 params["stroke-width"] == null && (width = a["stroke-width"]);
7435 params["stroke-width"] && (stroke.weight = width);
7439 params["stroke-linejoin"] && (stroke.joinstyle = params["stroke-linejoin"] || "miter");
7440 stroke.miterlimit = params["stroke-miterlimit"] || 8;
7441params["stroke-linecap"] && (stroke.endcap = params["stroke-linecap"] == "butt" ? "flat" : params[…
7442 if ("stroke-dasharray" in params) {
7455 …stroke.dashstyle = dasharray[has](params["stroke-dasharray"]) ? dasharray[params["stroke-dasharray…
7479 …("x" in params || "y" in params) && (res.path.v = R.format("m{0},{1}l{2},{1}", round(a.x * zoom), …
7481 for (var d = 0, dd = dirtyattrs.length; d < dd; d++) if (dirtyattrs[d] in params) {
7771 var params;
7773 params = {};
7774 params[name] = value;
7776 value == null && R.is(name, "object") && (params = name);
7777 for (var key in params) {
7778 eve("raphael.attr." + key + "." + this.id, this, params[key]);
7780 if (params) {
7781 …his.paper.customAttributes) if (this.paper.customAttributes[has](key) && params[has](key) && R.is(…
7782 var par = this.paper.customAttributes[key].apply(this, [].concat(params[key]));
7783 this.attrs[key] = params[key];
7785 params[subkey] = par[subkey];
7789 if (params.text && this.type == "text") {
7790 this.textpath.string = params.text;
7792 setFillAndStroke(this, params);