Lines Matching refs:y

75   return box.y + box.height / 2;
108 y: (y2 - y1) * r1 + y1 + yfactor property in wobble.p1
113 y: (y2 - y1) * r2 + y1 - yfactor property in wobble.p2
116 return 'C' + p1.x.toFixed(1) + ',' + p1.y.toFixed(1) + // start control point
117 ' ' + p2.x.toFixed(1) + ',' + p2.y.toFixed(1) + // end control point
124 function handRect(x, y, w, h) { argument
125 assert(_.all([x, y, w, h], _.isFinite), 'x, y, w, h must be numeric');
126 return 'M' + x + ',' + y +
127 wobble(x, y, x + w, y) +
128 wobble(x + w, y, x + w, y + h) +
129 wobble(x + w, y + h, x, y + h) +
130 wobble(x, y + h, x, y);
168 var y = DIAGRAM_MARGIN + titleHeight;
171 this.drawActors(y);
172 this.drawSignals(y + this.actorsHeight_);
195 title.y = DIAGRAM_MARGIN;
205 a.x = 0; a.y = 0;
340 var y = offsetY;
343 this.drawActor(a, y, this.actorsHeight_);
346 this.drawActor(a, y + this.actorsHeight_ + this.signalsHeight_, this.actorsHeight_);
351 aX, y + this.actorsHeight_ - ACTOR_MARGIN,
352 aX, y + this.actorsHeight_ + ACTOR_MARGIN + this.signalsHeight_);
357 actor.y = offsetY;
363 var y = offsetY;
368 this.drawSelfSignal(s, y);
370 this.drawSignal(s, y);
374 this.drawNote(s, y);
377 y += s.height;
388 var y = offsetY + SIGNAL_PADDING + signal.height / 2 + textBB.y;
390 this.drawText(x, y, signal.message, this.font_, ALIGN_LEFT);
407 var y = offsetY + SIGNAL_MARGIN + 2 * SIGNAL_PADDING;
410 this.drawText(x, y, signal.message, this.font_, ALIGN_CENTER);
413 y = offsetY + signal.height - SIGNAL_MARGIN - SIGNAL_PADDING;
414 this.drawLine(aX, y, bX, y, signal.linetype, signal.arrowtype);
418 note.y = offsetY;
449 var y = box.y + margin;
454 this.drawRect(x, y, w, h);
459 y = getCenterY(box);
462 y += padding;
465 return this.drawText(x, y, text, font, align);