Lines Matching refs:y

199 mxJsCanvas.prototype.setGradient = function(color1, color2, x, y, w, h, direction, alpha1, alpha2)  argument
201 var gradient = this.ctx.createLinearGradient(0, y, 0, y + h);
437 mxJsCanvas.prototype.moveTo = function(x, y) argument
439 this.ctx.moveTo(x, y);
441 this.lastMoveY = y;
444 mxJsCanvas.prototype.lineTo = function(x, y) argument
446 this.ctx.lineTo(x, y);
448 this.lastMoveY = y;
458 mxJsCanvas.prototype.arcTo = function(rx, ry, angle, largeArcFlag, sweepFlag, x, y) argument
460 … mxUtils.arcToCurves(this.lastMoveX, this.lastMoveY, rx, ry, angle, largeArcFlag, sweepFlag, x, y);
479 mxJsCanvas.prototype.rect = function(x, y, w, h) argument
483 this.moveTo(x, y);
484 this.lineTo(x + w, y);
485 this.lineTo(x + w, y + h);
486 this.lineTo(x, y + h);
490 mxJsCanvas.prototype.roundrect = function(x, y, w, h, dx, dy) argument
493 this.moveTo(x + dx, y);
494 this.lineTo(x + w - dx, y);
495 this.quadTo(x + w, y, x + w, y + dy);
496 this.lineTo(x + w, y + h - dy);
497 this.quadTo(x + w, y + h, x + w - dx, y + h);
498 this.lineTo(x + dx, y + h);
499 this.quadTo(x, y + h, x, y + h - dy);
500 this.lineTo(x, y + dy);
501 this.quadTo(x, y, x + dx, y);
504 mxJsCanvas.prototype.ellipse = function(x, y, w, h) argument
507 this.ctx.translate((x + w / 2), (y + h / 2));
525 mxJsCanvas.prototype.image = function(x, y, w, h, src, aspect, flipH, flipV) argument
537 function drawImage(ctx, image, x, y, w, h) argument
551 y += y0;
566 ctx.translate(0, 2 * y + h);
570 ctx.drawImage(image, x, y, w, h);
576 drawImage.call(this, this.ctx, image, x, y, w, h);
634 mxJsCanvas.prototype.text = function(x, y, w, h, str, align, valign, wrap, format, overflow, clip, … argument
647 this.ctx.translate(Math.round(x), Math.round(y));
649 this.ctx.translate(Math.round(-x), Math.round(-y));
661 y -= cavHeight / 2 /sc;
664 y -= cavHeight / sc;
686 …this.ctx.fillRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Math…
692 …this.ctx.strokeRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Ma…
701 this.ctx.drawImage(subCanvas, Math.round(x * sc) ,Math.round(y * sc));
727 var backgroundY = y;
733 y -= (lines.length-1) * lineHeight / 2;
734 backgroundY = y - this.state.fontSize / 2;
738 y -= lineHeight * (lines.length-1);
739 backgroundY = y - this.state.fontSize;
795 this.ctx.fillText(lines[i], lineX[i], y);
796 y += this.state.fontSize * mxConstants.LINE_HEIGHT;