Lines Matching refs:c

39 mxShapeMockupCheckboxGroup.prototype.paintVertexShape = function(c, x, y, w, h)  argument
41 c.translate(x, y);
78 c.rect(0, 0, trueW, trueH);
79 c.fillAndStroke();
80 c.setShadow(false);
82 c.setFontSize(fontSize);
92 c.setFontColor(fontColor[1]);
98 c.setFontColor(fontColor[0]);
101c.text(buttonSize * 2 + labelOffset, currHeight, 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstan…
105 c.setFillColor('#dddddd');
106 c.setStrokeColor('#999999');
110c.setGradient('#aaaaaa', '#666666', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
111 c.rect(iconX, iconY, buttonSize, buttonSize);
112 c.fillAndStroke();
113 c.setStrokeColor('#333333');
114 c.begin();
115 c.moveTo(iconX + buttonSize * 0.25, iconY + buttonSize * 0.5);
116 c.lineTo(iconX + buttonSize * 0.5, iconY + buttonSize * 0.75);
117 c.lineTo(iconX + buttonSize * 0.75, iconY + buttonSize * 0.25);
118 c.stroke();
122c.setGradient('#eeeeee', '#cccccc', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
123 c.rect(iconX, iconY, buttonSize, buttonSize);
124 c.fillAndStroke();
166 mxShapeMockupRadioGroup.prototype.paintVertexShape = function(c, x, y, w, h) argument
168 c.translate(x, y);
205 c.rect(0, 0, trueW, trueH);
206 c.fillAndStroke();
207 c.setShadow(false);
209 c.setFontSize(fontSize);
219 c.setFontColor(fontColor[1]);
225 c.setFontColor(fontColor[0]);
228c.text(buttonSize * 2 + labelOffset, currHeight, 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstan…
232 c.setStrokeColor('#999999');
236c.setGradient('#aaaaaa', '#666666', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
237 c.ellipse(iconX, iconY, buttonSize, buttonSize);
238 c.fillAndStroke();
239 c.setFillColor('#333333');
240 c.setStrokeColor('#333333');
241c.ellipse(iconX + buttonSize * 0.25, iconY + buttonSize * 0.25, buttonSize * 0.5, buttonSize * 0.5…
242 c.fillAndStroke();
246c.setGradient('#eeeeee', '#cccccc', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
247 c.ellipse(iconX, iconY, buttonSize, buttonSize);
248 c.fillAndStroke();
289 mxShapeMockupColorPicker.prototype.paintVertexShape = function(c, x, y, w, h) argument
293 c.translate(x, y);
295 c.setStrokeColor('#999999');
296 c.roundrect(0, 0, w, h, w * 0.05, h * 0.05);
297 c.fillAndStroke();
298 c.setShadow(false);
300 c.setFillColor(chosenColor);
301 c.rect(w * 0.1, h * 0.1, w * 0.8, h * 0.8);
302 c.fill();
304 c.setFillColor('#ffffff');
305 c.begin();
306 c.moveTo(w * 0.75, h * 0.75);
307 c.lineTo(w * 0.75, h);
308 c.lineTo(w * 0.95, h);
309 c.arcTo(w * 0.05, h * 0.05, 0, 0, 0, w, h * 0.95);
310 c.lineTo(w, h * 0.75);
311 c.close();
312 c.fill();
314 c.setFillColor('#999999');
315 c.begin();
316 c.moveTo(w * 0.77, h * 0.77);
317 c.lineTo(w * 0.875, h * 0.98);
318 c.lineTo(w * 0.98, h * 0.77);
319 c.close();
320 c.fill();
322 c.roundrect(0, 0, w, h, w * 0.05, h * 0.05);
323 c.stroke();
365 mxShapeMockupComboBox.prototype.paintVertexShape = function(c, x, y, w, h) argument
367 c.translate(x, y);
368 this.background(c, x, y, w, h);
369 c.setShadow(false);
370 this.foreground(c, x, y, w, h);
371 this.mainText(c, x, y, w, h);
374 mxShapeMockupComboBox.prototype.background = function(c, x, y, w, h) argument
376 c.setFillColor('#ffffff');
377 c.roundrect(0, 0, w, h, 5, 5);
378 c.fillAndStroke();
381 mxShapeMockupComboBox.prototype.foreground = function(c, x, y, w, h) argument
385 c.setGradient(fillColor, fillColor2, w - 30, 0, 30, h, mxConstants.DIRECTION_SOUTH, 1, 1);
386 c.begin();
387 c.moveTo(w - 30, 0);
388 c.lineTo(w - 5, 0);
389 c.arcTo(5, 5, 0, 0, 1, w, 5);
390 c.lineTo(w, h - 5);
391 c.arcTo(5, 5, 0, 0, 1, w - 5, h);
392 c.lineTo(w - 30, h);
393 c.close();
394 c.fillAndStroke();
396 c.setFillColor('#ffffff');
397 c.begin();
398 c.moveTo(w - 22, h * 0.5 - 5);
399 c.lineTo(w - 15, h * 0.5 + 5);
400 c.lineTo(w - 8, h * 0.5 - 5);
401 c.fill();
404 mxShapeMockupComboBox.prototype.mainText = function(c, x, y, w, h) argument
410 c.begin();
411 c.setFontSize(fontSize);
412 c.setFontColor(fontColor);
413c.text(5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
477 mxShapeMockupSpinner.prototype.paintVertexShape = function(c, x, y, w, h) argument
480 c.translate(x, y);
481 this.background(c, w, h);
482 c.setShadow(false);
483 this.foreground(c, w, h, spinnerLayout);
484 this.mainText(c, w, h, spinnerLayout);
487 mxShapeMockupSpinner.prototype.background = function(c, w, h) argument
489 c.setFillColor('#ffffff');
490 c.roundrect(0, 0, w, h, 10, 10);
491 c.fillAndStroke();
494 mxShapeMockupSpinner.prototype.foreground = function(c, w, h, spinnerLayout) argument
501 c.setFillColor(fillColor);
507 c.begin();
508 c.moveTo(w - 20, 0);
509 c.lineTo(w - 20, h);
510 c.moveTo(w - 20, h * 0.5);
511 c.lineTo(w, h * 0.5);
512 c.stroke();
516 c.begin();
517 c.moveTo(20, 0);
518 c.lineTo(20, h);
519 c.moveTo(20, h * 0.5);
520 c.lineTo(0, h * 0.5);
521 c.stroke();
525 c.begin();
526 c.moveTo(0, 15);
527 c.lineTo(w, 15);
528 c.moveTo(w * 0.5, 15);
529 c.lineTo(w * 0.5, 0);
530 c.stroke();
534 c.begin();
535 c.moveTo(0, h - 15);
536 c.lineTo(w, h - 15);
537 c.moveTo(w * 0.5, h - 15);
538 c.lineTo(w * 0.5, h);
539 c.stroke();
543 c.begin();
544 c.moveTo(0, 15);
545 c.lineTo(w, 15);
546 c.moveTo(0, h - 15);
547 c.lineTo(w, h - 15);
548 c.stroke();
552 c.begin();
553 c.moveTo(20, 0);
554 c.lineTo(20, h);
555 c.moveTo(w - 20, 0);
556 c.lineTo(w - 20, h);
557 c.stroke();
561 c.setStrokeColor(fillColor);
567 c.begin();
568 c.moveTo(w - 14, h * 0.25 + 4.5);
569 c.lineTo(w - 10, h * 0.25 - 2.5);
570 c.lineTo(w - 6, h * 0.25 + 4.5);
571 c.close();
572 c.fillAndStroke();
576 c.begin();
577 c.moveTo(w - 10, h * 0.25 - 4);
578 c.lineTo(w - 10, h * 0.25 + 4);
579 c.moveTo(w - 14, h * 0.25);
580 c.lineTo(w - 6, h * 0.25);
581 c.stroke();
585 c.begin();
586 c.moveTo(w - 14, h * 0.25 + 1.5);
587 c.lineTo(w - 10, h * 0.25 - 2.5);
588 c.lineTo(w - 6, h * 0.25 + 1.5);
589 c.close();
590 c.moveTo(w - 10, h * 0.25 + 4.5);
591 c.lineTo(w - 10, h * 0.25 - 2.5);
592 c.fillAndStroke();
599 c.begin();
600 c.moveTo(14, h * 0.25 + 4.5);
601 c.lineTo(10, h * 0.25 - 2.5);
602 c.lineTo(6, h * 0.25 + 4.5);
603 c.close();
604 c.fillAndStroke();
608 c.begin();
609 c.moveTo(10, h * 0.25 - 4);
610 c.lineTo(10, h * 0.25 + 4);
611 c.moveTo(14, h * 0.25);
612 c.lineTo(6, h * 0.25);
613 c.stroke();
617 c.begin();
618 c.moveTo(14, h * 0.25 + 1.5);
619 c.lineTo(10, h * 0.25 - 2.5);
620 c.lineTo(6, h * 0.25 + 1.5);
621 c.close();
622 c.moveTo(10, h * 0.25 + 4.5);
623 c.lineTo(10, h * 0.25 - 2.5);
624 c.fillAndStroke();
631 c.begin();
632 c.moveTo(w * 0.75 + 4, 12);
633 c.lineTo(w * 0.75, 5);
634 c.lineTo(w * 0.75 - 4, 12);
635 c.close();
636 c.fillAndStroke();
640 c.begin();
641 c.moveTo(w * 0.75, 3.5);
642 c.lineTo(w * 0.75, 11.5);
643 c.moveTo(w * 0.75 + 4, 7.5);
644 c.lineTo(w * 0.75 - 4, 7.5);
645 c.stroke();
649 c.begin();
650 c.moveTo(w * 0.75 + 4, 9);
651 c.lineTo(w * 0.75, 5);
652 c.lineTo(w * 0.75 - 4, 9);
653 c.close();
654 c.moveTo(w * 0.75, 12);
655 c.lineTo(w * 0.75, 5);
656 c.fillAndStroke();
663 c.begin();
664 c.moveTo(w * 0.75 + 4, h - 5);
665 c.lineTo(w * 0.75, h - 12);
666 c.lineTo(w * 0.75 - 4, h - 5);
667 c.close();
668 c.fillAndStroke();
672 c.begin();
673 c.moveTo(w * 0.75, h - 3.5);
674 c.lineTo(w * 0.75, h - 11.5);
675 c.moveTo(w * 0.75 + 4, h - 7.5);
676 c.lineTo(w * 0.75 - 4, h - 7.5);
677 c.stroke();
681 c.begin();
682 c.moveTo(w * 0.75 + 4, h - 6);
683 c.lineTo(w * 0.75, h - 10);
684 c.lineTo(w * 0.75 - 4, h - 6);
685 c.close();
686 c.moveTo(w * 0.75, h - 3);
687 c.lineTo(w * 0.75, h - 10);
688 c.fillAndStroke();
695 c.begin();
696 c.moveTo(w * 0.5 + 4, 12);
697 c.lineTo(w * 0.5, 5);
698 c.lineTo(w * 0.5 - 4, 12);
699 c.close();
700 c.fillAndStroke();
704 c.begin();
705 c.moveTo(w * 0.5, 3.5);
706 c.lineTo(w * 0.5, 11.5);
707 c.moveTo(w * 0.5 + 4, 7.5);
708 c.lineTo(w * 0.5 - 4, 7.5);
709 c.stroke();
713 c.begin();
714 c.moveTo(w * 0.5 + 4, 9);
715 c.lineTo(w * 0.5, 5);
716 c.lineTo(w * 0.5 - 4, 9);
717 c.close();
718 c.moveTo(w * 0.5, 12);
719 c.lineTo(w * 0.5, 5);
720 c.fillAndStroke();
727 c.begin();
728 c.moveTo(w - 6, h * 0.5 + 4.5);
729 c.lineTo(w - 10, h * 0.5 - 2.5);
730 c.lineTo(w - 14, h * 0.5 + 4.5);
731 c.close();
732 c.fillAndStroke();
736 c.begin();
737 c.moveTo(w - 10, h * 0.5 - 4);
738 c.lineTo(w - 10, h * 0.5 + 4);
739 c.moveTo(w - 14, h * 0.5);
740 c.lineTo(w - 6, h * 0.5);
741 c.stroke();
745 c.begin();
746 c.moveTo(w - 14, h * 0.5 + 1.5);
747 c.lineTo(w - 10, h * 0.5 - 2.5);
748 c.lineTo(w - 6, h * 0.5 + 1.5);
749 c.close();
750 c.moveTo(w - 10, h * 0.5 + 4.5);
751 c.lineTo(w - 10, h * 0.5 - 2.5);
752 c.fillAndStroke();
760 c.begin();
761 c.moveTo(w - 14, h * 0.75 - 4.5);
762 c.lineTo(w - 10, h * 0.75 + 2.5);
763 c.lineTo(w - 6, h * 0.75 - 4.5);
764 c.close();
765 c.fillAndStroke();
769 c.begin();
770 c.moveTo(w - 14, h * 0.75);
771 c.lineTo(w - 6, h * 0.75);
772 c.stroke();
776 c.begin();
777 c.moveTo(w - 14, h * 0.75 - 1.5);
778 c.lineTo(w - 10, h * 0.75 + 2.5);
779 c.lineTo(w - 6, h * 0.75 - 1.5);
780 c.close();
781 c.moveTo(w - 10, h * 0.75 - 4.5);
782 c.lineTo(w - 10, h * 0.75 + 2.5);
783 c.fillAndStroke();
790 c.begin();
791 c.moveTo(14, h * 0.75 - 4.5);
792 c.lineTo(10, h * 0.75 + 2.5);
793 c.lineTo(6, h * 0.75 - 4.5);
794 c.close();
795 c.fillAndStroke();
799 c.begin();
800 c.moveTo(14, h * 0.75);
801 c.lineTo(6, h * 0.75);
802 c.stroke();
806 c.begin();
807 c.moveTo(14, h * 0.75 - 1.5);
808 c.lineTo(10, h * 0.75 + 2.5);
809 c.lineTo(6, h * 0.75 - 1.5);
810 c.close();
811 c.moveTo(10, h * 0.75 - 4.5);
812 c.lineTo(10, h * 0.75 + 2.5);
813 c.fillAndStroke();
820 c.begin();
821 c.moveTo(w * 0.25 + 4, 5);
822 c.lineTo(w * 0.25, 12);
823 c.lineTo(w * 0.25 - 4, 5);
824 c.close();
825 c.fillAndStroke();
829 c.begin();
830 c.moveTo(w * 0.25 + 4, 7.5);
831 c.lineTo(w * 0.25 - 4, 7.5);
832 c.stroke();
836 c.begin();
837 c.moveTo(w * 0.25 + 4, 6);
838 c.lineTo(w * 0.25, 10);
839 c.lineTo(w * 0.25 - 4, 6);
840 c.close();
841 c.moveTo(w * 0.25, 3);
842 c.lineTo(w * 0.25, 10);
843 c.fillAndStroke();
850 c.begin();
851 c.moveTo(w * 0.25 + 4, h - 12);
852 c.lineTo(w * 0.25, h - 5);
853 c.lineTo(w * 0.25 - 4, h - 12);
854 c.close();
855 c.fillAndStroke();
859 c.begin();
860 c.moveTo(w * 0.25 + 4, h - 7.5);
861 c.lineTo(w * 0.25 - 4, h - 7.5);
862 c.stroke();
866 c.begin();
867 c.moveTo(w * 0.25 + 4, h - 9);
868 c.lineTo(w * 0.25, h - 5);
869 c.lineTo(w * 0.25 - 4, h - 9);
870 c.close();
871 c.moveTo(w * 0.25, h - 12);
872 c.lineTo(w * 0.25, h - 5);
873 c.fillAndStroke();
880 c.begin();
881 c.moveTo(w * 0.5 + 4, h - 12);
882 c.lineTo(w * 0.5, h - 5);
883 c.lineTo(w * 0.5 - 4, h - 12);
884 c.close();
885 c.fillAndStroke();
889 c.begin();
890 c.moveTo(w * 0.5 + 4, h - 7.5);
891 c.lineTo(w * 0.5 - 4, h - 7.5);
892 c.stroke();
896 c.begin();
897 c.moveTo(w * 0.5 + 4, h - 9);
898 c.lineTo(w * 0.5, h - 5);
899 c.lineTo(w * 0.5 - 4, h - 9);
900 c.close();
901 c.moveTo(w * 0.5, h - 12);
902 c.lineTo(w * 0.5, h - 5);
903 c.fillAndStroke();
910 c.begin();
911 c.moveTo(6, h * 0.5 - 4.5);
912 c.lineTo(10, h * 0.5 + 2.5);
913 c.lineTo(14, h * 0.5 - 4.5);
914 c.close();
915 c.fillAndStroke();
919 c.begin();
920 c.moveTo(14, h * 0.5);
921 c.lineTo(6, h * 0.5);
922 c.stroke();
926 c.begin();
927 c.moveTo(14, h * 0.5 - 1.5);
928 c.lineTo(10, h * 0.5 + 2.5);
929 c.lineTo(6, h * 0.5 - 1.5);
930 c.close();
931 c.moveTo(10, h * 0.5 - 4.5);
932 c.lineTo(10, h * 0.5 + 2.5);
933 c.fillAndStroke();
938 mxShapeMockupSpinner.prototype.mainText = function(c, w, h, spinnerLayout) argument
943 c.setFontSize(fontSize);
944 c.setFontColor(fontColor);
948c.text((w - 20) * 0.5, h * 0.5, 0, 0, spinnerText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MID…
952c.text((w + 20) * 0.5, h * 0.5, 0, 0, spinnerText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MID…
956c.text(w * 0.5, (h + 15) * 0.5, 0, 0, spinnerText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MID…
960c.text(w * 0.5, (h - 15) * 0.5, 0, 0, spinnerText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MID…
964c.text(w * 0.5, h * 0.5, 0, 0, spinnerText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0,…
968c.text(w * 0.5, h * 0.5, 0, 0, spinnerText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0,…
1010 mxShapeMockupMenuBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
1046 c.translate(x, y);
1047 …this.background(c, trueW, trueH, rSize, buttonNum, buttonWidths, labelOffset, minW, frameColor, se…
1048 c.setShadow(false);
1056 c.setFontColor(selectedFontColor);
1060 c.setFontColor(fontColor);
1064 this.buttonText(c, currWidth, trueH, textStrings[i], buttonWidths[i], fontSize, minW, trueW);
1069 mxShapeMockupMenuBar.prototype.background = function(c, w, h, rSize, buttonNum, buttonWidths, label… argument
1072 c.setStrokeColor(frameColor);
1073 c.setFillColor(bgColor);
1074 c.rect(0, 0, w, h);
1075 c.fillAndStroke();
1078 c.setStrokeColor(separatorColor);
1079 c.begin();
1093 c.moveTo(currWidth, 0);
1094 c.lineTo(currWidth, h);
1098 c.stroke();
1104 c.setFillColor(selectedFillColor);
1115 c.rect(buttonLeft, 0, buttonRight - buttonLeft, h);
1116 c.fill();
1120 c.setStrokeColor(frameColor);
1121 c.setFillColor(bgColor);
1122 c.rect(0, 0, w, h);
1123 c.stroke();
1126 mxShapeMockupMenuBar.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSize, mi… argument
1133 c.setFontSize(fontSize);
1134c.text((w + buttonWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER…
1188 mxShapeMockupHorSlider.prototype.paintVertexShape = function(c, x, y, w, h) argument
1193 c.translate(x, y);
1194 this.background(c, w, h, rSize, sliderStyle);
1195 c.setShadow(false);
1196 this.foreground(c, w, h, rSize, sliderStyle);
1200 mxShapeMockupHorSlider.prototype.background = function(c, w, h, rSize, sliderStyle) argument
1205 c.begin();
1206 c.moveTo(0, h * 0.5);
1207 c.lineTo(w, h * 0.5);
1208 c.stroke();
1212 c.roundrect(0, h * 0.5 - rSize, w, 2 * rSize, rSize, rSize);
1213 c.fillAndStroke();
1217 mxShapeMockupHorSlider.prototype.foreground = function(c, w, h, rSize, sliderStyle) argument
1229 c.setStrokeColor(fillColor2);
1231 c.begin();
1232 c.moveTo(0, h * 0.5);
1233 c.lineTo(barCenterPos, h * 0.5);
1234 c.stroke();
1235 c.setStrokeColor(strokeColor);
1240 c.setFillColor(fillColor2);
1241 c.roundrect(0, h * 0.5 - rSize, barCenterPos, 2 * rSize, rSize, rSize);
1242 c.fillAndStroke();
1243 c.setFillColor(fillColor);
1250 c.ellipse(handleCenterPos - 10, h * 0.5 - 10, 20, 20);
1251 c.fillAndStroke();
1255 c.begin();
1256 c.moveTo(handleCenterPos - 10, h * 0.5 + 10);
1257 c.lineTo(handleCenterPos, h * 0.5 - 10);
1258 c.lineTo(handleCenterPos + 10, h * 0.5 + 10);
1259 c.close();
1260 c.fillAndStroke();
1264 c.begin();
1265 c.moveTo(handleCenterPos - 7, h * 0.5 + 10);
1266 c.lineTo(handleCenterPos - 7, h * 0.5);
1267 c.lineTo(handleCenterPos, h * 0.5 - 10);
1268 c.lineTo(handleCenterPos + 7, h * 0.5);
1269 c.lineTo(handleCenterPos + 7, h * 0.5 + 10);
1270 c.close();
1271 c.fillAndStroke();
1330 mxShapeMockupListBox.prototype.paintVertexShape = function(c, x, y, w, h) argument
1360 c.translate(x, y);
1365 this.background(c, w, h, bgColor, frameColor);
1366 c.setShadow(false);
1367 this.foreground(c, w, h, frameColor, selectedButton, subText, fontSize);
1370 mxShapeMockupListBox.prototype.background = function(c, w, h, bgColor, frameColor) argument
1372 c.setFillColor(bgColor);
1373 c.setStrokeColor(frameColor);
1374 c.rect(0, 0, w, h);
1375 c.fillAndStroke();
1378 mxShapeMockupListBox.prototype.foreground = function(c, w, h, frameColor, selectedButton, subText, … argument
1385 c.setFillColor(selectedColor);
1386 c.rect(0, 30 + selectedButton * fontSize * 1.5, w, fontSize * 1.5);
1387 c.fill();
1390 c.begin();
1391 c.moveTo(0, 30);
1392 c.lineTo(w, 30);
1393 c.stroke();
1399 c.setFontColor(fontColor[1]);
1400 c.setFontSize(fontSize);
1401c.text(10, 15, 0, 0, windowTitle, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0,…
1402 c.setFontColor(fontColor[0]);
1413c.text(10, 30 + fontSize * (i * 1.5 + 0.75), 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstants.A…
1416 c.rect(0, 0, w, h);
1417 c.stroke();
1454 mxShapeMockupPwField.prototype.paintVertexShape = function(c, x, y, w, h) argument
1456 c.translate(x, y);
1457 this.background(c, w, h);
1458 c.setShadow(false);
1459 this.foreground(c, w, h);
1462 mxShapeMockupPwField.prototype.background = function(c, w, h) argument
1464 c.rect(0, 0, w, h);
1465 c.fillAndStroke();
1468 mxShapeMockupPwField.prototype.foreground = function(c, w, h) argument
1474 c.setFontColor(fontColor);
1475 c.setFontSize(fontSize);
1477c.text(5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
1514 mxShapeMockupSplitter.prototype.paintVertexShape = function(c, x, y, w, h) argument
1517 c.translate(x, y);
1518 this.background(c, w, h);
1519 c.setShadow(false);
1520 this.foreground(c, w, h);
1523 mxShapeMockupSplitter.prototype.background = function(c, w, h) argument
1525 c.begin();
1526 c.moveTo(0, h * 0.5 - 5);
1527 c.lineTo(w, h * 0.5 - 5);
1528 c.lineTo(w, h * 0.5 + 5);
1529 c.lineTo(0, h * 0.5 + 5);
1530 c.close();
1531 c.fill();
1534 mxShapeMockupSplitter.prototype.foreground = function(c, w, h) argument
1538 c.begin();
1539 c.moveTo(0, h * 0.5 - 5);
1540 c.lineTo(w, h * 0.5 - 5);
1541 c.moveTo(w, h * 0.5 + 5);
1542 c.lineTo(0, h * 0.5 + 5);
1543 c.stroke();
1545 c.setFillColor(strokeColor);
1546 c.ellipse(w * 0.5 - 17, h * 0.5 - 2, 4, 4);
1547 c.fill();
1548 c.ellipse(w * 0.5 - 2, h * 0.5 - 2, 4, 4);
1549 c.fill();
1550 c.ellipse(w * 0.5 + 13, h * 0.5 - 2, 4, 4);
1551 c.fill();
1595 mxShapeMockupWedgeBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
1637 c.translate(x, y);
1639 c.setShadow(false);
1640 …this.backTabs(c, w, h, rSize, tabH, startOffset, tabOffset, labelOffset, tabCount, labelWidths, se…
1641 …this.focusTab(c, w, h, rSize, tabH, startOffset, tabOffset, labelOffset, tabCount, labelWidths, se…
1642 …this.tabText(c, w, h, rSize, tabH, startOffset, tabOffset, labelOffset, tabCount, labelWidths, sel…
1645 mxShapeMockupWedgeBar.prototype.backTabs = function(c, w, h, rSize, tabH, startOffset, tabOffset, l… argument
1658 c.begin();
1659 c.moveTo(currW, tabH);
1660 c.lineTo(currW, 0);
1661 c.lineTo(currW + tabW, 0);
1662 c.lineTo(currW + tabW, tabH);
1666 c.begin();
1667 c.moveTo(currW, tabH);
1668 c.lineTo(currW + labelOffset * 0.5, 0);
1669 c.lineTo(currW + tabW - labelOffset * 0.5, 0);
1670 c.lineTo(currW + tabW, tabH);
1674 c.begin();
1675 c.moveTo(currW, tabH);
1676 c.lineTo(currW + labelOffset * 0.5, 0);
1677 c.lineTo(currW + tabW, 0);
1678 c.lineTo(currW + tabW, tabH);
1682 c.begin();
1683 c.moveTo(currW - rSize, tabH);
1684 c.arcTo(rSize, rSize, 0, 0, 0, currW, tabH - rSize);
1685 c.lineTo(currW, rSize);
1686 c.arcTo(rSize, rSize, 0, 0, 1, currW + rSize, 0);
1687 c.lineTo(currW + tabW - rSize, 0);
1688 c.arcTo(rSize, rSize, 0, 0, 1, currW + tabW, rSize);
1689 c.lineTo(currW + tabW, tabH - rSize);
1690 c.arcTo(rSize, rSize, 0, 0, 0, currW + tabW + rSize, tabH);
1693 c.fillAndStroke();
1700 mxShapeMockupWedgeBar.prototype.focusTab = function(c, w, h, rSize, tabH, startOffset, tabOffset, l… argument
1706 c.setStrokeColor(selectedFill);
1707 c.setFillColor(selectedFill);
1717 c.begin();
1718 c.moveTo(currW, tabH);
1719 c.lineTo(currW, 0);
1720 c.lineTo(currW + tabW, 0);
1721 c.lineTo(currW + tabW, tabH);
1725 c.begin();
1726 c.moveTo(currW, tabH);
1727 c.lineTo(currW + labelOffset * 0.5, 0);
1728 c.lineTo(currW + tabW - labelOffset * 0.5, 0);
1729 c.lineTo(currW + tabW, tabH);
1733 c.begin();
1734 c.moveTo(currW, tabH);
1735 c.lineTo(currW + labelOffset * 0.5, 0);
1736 c.lineTo(currW + tabW, 0);
1737 c.lineTo(currW + tabW, tabH);
1741 c.begin();
1742 c.moveTo(currW - rSize, tabH);
1743 c.arcTo(rSize, rSize, 0, 0, 0, currW, tabH - rSize);
1744 c.lineTo(currW, rSize);
1745 c.arcTo(rSize, rSize, 0, 0, 1, currW + rSize, 0);
1746 c.lineTo(currW + tabW - rSize, 0);
1747 c.arcTo(rSize, rSize, 0, 0, 1, currW + tabW, rSize);
1748 c.lineTo(currW + tabW, tabH - rSize);
1749 c.arcTo(rSize, rSize, 0, 0, 0, currW + tabW + rSize, tabH);
1752 c.fillAndStroke();
1759 mxShapeMockupWedgeBar.prototype.tabText = function(c, w, h, rSize, tabH, startOffset, tabOffset, la… argument
1765 c.setFontColor(fontColor);
1766 c.setFontSize(fontSize);
1776 c.setFontColor(selFontColor);
1786c.text(currW + labelOffset, tabH * 0.5, 0, 0, currLabel, mxConstants.ALIGN_LEFT, mxConstants.ALIGN…
1792 c.setFontColor(fontColor);
1837 mxShapeMockupSearchBox.prototype.paintVertexShape = function(c, x, y, w, h) argument
1839 c.translate(x, y);
1840 this.background(c, w, h);
1841 c.setShadow(false);
1842 this.foreground(c, w, h);
1845 mxShapeMockupSearchBox.prototype.background = function(c, w, h) argument
1847 c.rect(0, 0, w, h);
1848 c.fillAndStroke();
1851 mxShapeMockupSearchBox.prototype.foreground = function(c, w, h) argument
1858 c.setFontColor(fontColor);
1859 c.setFontSize(fontSize);
1861c.text(5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
1863 c.setStrokeColor(strokeColor2);
1864 c.ellipse(w - 15, h * 0.5 - 8, 10, 10);
1865 c.stroke();
1866 c.begin();
1867 c.moveTo(w - 19, h * 0.5 + 9);
1868 c.lineTo(w - 13, h * 0.5 + 1);
1869 c.stroke();
1910 mxShapeMockupSignIn.prototype.paintVertexShape = function(c, x, y, w, h) argument
1912 c.translate(x, y);
1913 this.background(c, w, h);
1914 c.setShadow(false);
1915 this.foreground(c, w, h);
1918 mxShapeMockupSignIn.prototype.background = function(c, w, h) argument
1920 c.rect(0, 0, w, h);
1921 c.fillAndStroke();
1924 mxShapeMockupSignIn.prototype.foreground = function(c, w, h) argument
1934 c.setFillColor(fillColor2);
1935 c.roundrect(w * 0.09, h * 0.52, w * 0.36, h * 0.09, 5, 5);
1936 c.fill();
1938 c.roundrect(w * 0.09, h * 0.84, w * 0.36, h * 0.09, 5, 5);
1939 c.fill();
1941 c.rect(w * 0.05, h * 0.22, w * 0.75, h * 0.08);
1942 c.stroke();
1944 c.rect(w * 0.05, h * 0.4, w * 0.75, h * 0.08);
1945 c.stroke();
1948 c.setStrokeColor(strokeColor2);
1949 c.setStrokeWidth(2);
1951 c.begin();
1952 c.moveTo(w * 0.05, h * 0.12);
1953 c.lineTo(w * 0.95, h * 0.12);
1954 c.moveTo(w * 0.05, h * 0.72);
1955 c.lineTo(w * 0.95, h * 0.72);
1956 c.stroke();
1959 c.setFontColor(fontColor);
1960 c.setFontSize(fontSize);
1961c.text(w * 0.05, h * 0.1, 0, 0, mainText[0], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_BOTTOM, 0, …
1962c.text(w * 0.05, h * 0.2, 0, 0, mainText[1], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_BOTTOM, 0, …
1963c.text(w * 0.075, h * 0.26, 0, 0, mainText[2], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0…
1964c.text(w * 0.05, h * 0.38, 0, 0, mainText[3], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_BOTTOM, 0,…
1965c.text(w * 0.075, h * 0.44, 0, 0, mainText[4], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0…
1966c.text(w * 0.05, h * 0.8, 0, 0, mainText[6], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, …
1968 c.setStrokeWidth(1);
1969 c.setFontColor('#9999ff');
1970 c.setStrokeColor('#9999ff');
1972c.text(w * 0.05, h * 0.7, 0, 0, mainText[5], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_BOTTOM, 0, …
1974 c.begin();
1975 c.moveTo(w * 0.05, h * 0.7);
1976 c.lineTo(w * 0.05 + forgotW, h * 0.7);
1977 c.stroke();
1979 c.setFontColor(fontColor2);
1980 c.setFontStyle(mxConstants.FONT_BOLD);
1981 c.setFontSize(fontSize2);
1982c.text(w * 0.27, h * 0.565, 0, 0, mainText[7], mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE,…
1983c.text(w * 0.27, h * 0.885, 0, 0, mainText[8], mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE,…
2029 mxShapeMockupCalendar.prototype.paintVertexShape = function(c, x, y, w, h) argument
2031 c.translate(x, y);
2032 this.background(c, w, h);
2033 c.setShadow(false);
2034 this.foreground(c, w, h);
2037 mxShapeMockupCalendar.prototype.background = function(c, w, h) argument
2039 c.roundrect(0, 0, w, h, w * 0.0312, h * 0.0286);
2040 c.fillAndStroke();
2043 mxShapeMockupCalendar.prototype.foreground = function(c, w, h) argument
2068 c.roundrect(w * 0.05, h * 0.0457, w * 0.1438, h * 0.1029, w * 0.025, h * 0.0229);
2069 c.stroke();
2070 c.roundrect(w * 0.8125, h * 0.0457, w * 0.1438, h * 0.1029, w * 0.025, h * 0.0229);
2071 c.stroke();
2074 c.setStrokeWidth(2);
2075 c.setStrokeColor(strokeColor2);
2076 c.begin();
2077 c.moveTo(w * 0.1438, h * 0.0743);
2078 c.lineTo(w * 0.1, h * 0.0971);
2079 c.lineTo(w * 0.1438, h * 0.12);
2080 c.moveTo(w * 0.8625, h * 0.0743);
2081 c.lineTo(w * 0.9062, h * 0.0971);
2082 c.lineTo(w * 0.8625, h * 0.12);
2083 c.stroke();
2085 c.setFontSize(textSize);
2086 c.setFontColor(textColor);
2087c.text(w * 0.5, h * 0.0971, 0, 0, mainText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0,…
2103c.text(currX, h * 0.2114, 0, 0, dayNames[j], mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0…
2106 c.setStrokeWidth(1);
2115 c.setStrokeColor(strokeColor);
2116 c.setFillColor(fillColor2);
2127 c.rect(currX, h * 0.2686, cellSize, h * 0.1143);
2128 c.fillAndStroke();
2131c.text(currX + cellSize * 0.5, h * 0.2686 + cellSize * 0.5, 0, 0, tmp.toString(), mxConstants.ALIG…
2138 c.setFillColor(fillColor);
2139 c.setStrokeColor(strokeColor);
2156 c.rect(currX, currY, cellSize, h * 0.1143);
2157 c.fillAndStroke();
2158c.text(currX + cellSize * 0.5, currY + cellSize * 0.5, 0, 0, d.toString(), mxConstants.ALIGN_CENTE…
2173 c.setFillColor(fillColor2);
2179 c.rect(currX, currY, cellSize, h * 0.1143);
2180 c.fillAndStroke();
2182c.text(currX + cellSize * 0.5, currY + cellSize * 0.5, 0, 0, i.toString(), mxConstants.ALIGN_CENTE…
2199 c.setStrokeColor('#ff0000');
2200 c.setStrokeWidth(2);
2201 c.setFillColor(strokeColor2);
2202 c.setFontColor(textColor2);
2204 c.rect(selX, selY, cellSize, h * 0.1143);
2205 c.fillAndStroke();
2206c.text(selX + cellSize * 0.5, selY + cellSize * 0.5, 0, 0, selDay.toString(), mxConstants.ALIGN_CE…
2246 mxShapeMockupEmailForm.prototype.paintVertexShape = function(c, x, y, w, h) argument
2268 c.translate(x, y);
2269 this.background(c, w, h, fontSize, tabX, showCC, showBCC);
2270 c.setShadow(false);
2271 this.foreground(c, w, h, fontSize, tabX, showCC, showBCC);
2274 mxShapeMockupEmailForm.prototype.background = function(c, w, h, fontSize, tabX, showCC, showBCC) argument
2281 c.rect(tabX, fontSize * 9, w - tabX, fontSize * 1.5);
2282 c.fillAndStroke();
2287 c.rect(tabX, messX, w - tabX, fontSize * 1.5);
2289 c.fillAndStroke();
2292 c.rect(tabX, 0, w - tabX, fontSize * 1.5);
2293 c.fillAndStroke();
2294 c.rect(tabX, fontSize * 3, w - tabX, fontSize * 1.5);
2295 c.fillAndStroke();
2296 c.rect(tabX, fontSize * 6, w - tabX, fontSize * 1.5);
2297 c.fillAndStroke();
2298 c.rect(0, messX, w, h - messX);
2299 c.fillAndStroke();
2302 mxShapeMockupEmailForm.prototype.foreground = function(c, w, h, fontSize, tabX, showCC, showBCC) argument
2307 c.setFontColor(fontColor);
2308 c.setFontSize(fontSize);
2310c.text(tabX - fontSize * 0.5, fontSize * 0.75, 0, 0, 'From', mxConstants.ALIGN_RIGHT, mxConstants.…
2311c.text(tabX - fontSize * 0.5, fontSize * 3.75, 0, 0, 'Subject', mxConstants.ALIGN_RIGHT, mxConstan…
2312c.text(tabX - fontSize * 0.5, fontSize * 6.75, 0, 0, 'To', mxConstants.ALIGN_RIGHT, mxConstants.AL…
2314c.text(tabX + fontSize * 0.5, fontSize * 0.75, 0, 0, mainText[0], mxConstants.ALIGN_LEFT, mxConsta…
2315c.text(tabX + fontSize * 0.5, fontSize * 3.75, 0, 0, mainText[1], mxConstants.ALIGN_LEFT, mxConsta…
2316c.text(tabX + fontSize * 0.5, fontSize * 6.75, 0, 0, mainText[2], mxConstants.ALIGN_LEFT, mxConsta…
2323c.text(tabX - fontSize * 0.5, fontSize * 9.75, 0, 0, 'CC', mxConstants.ALIGN_RIGHT, mxConstants.AL…
2324c.text(tabX + fontSize * 0.5, fontSize * 9.75, 0, 0, mainText[3], mxConstants.ALIGN_LEFT, mxConsta…
2329c.text(tabX - fontSize * 0.5, messX + fontSize * 0.75, 0, 0, 'BCC', mxConstants.ALIGN_RIGHT, mxCon…
2330c.text(tabX + fontSize * 0.5, messX + fontSize * 0.75, 0, 0, mainText[4], mxConstants.ALIGN_LEFT, …
2334c.text(fontSize * 0.5, messX + fontSize * 0.75, 0, 0, mainText[5], mxConstants.ALIGN_LEFT, mxConst…
2373 mxShapeMockupFormsRRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
2375 c.translate(x, y);
2378 c.roundrect(0, 0, w, h, rSize);
2379 c.fillAndStroke();
2410 mxShapeMockupFormsAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
2445 mxShapeMockupFormsCheckbox.prototype.paintVertexShape = function(c, x, y, w, h) argument
2447 c.translate(x, y);
2449 c.rect(0, 0, w, h);
2450 c.fillAndStroke();
2452 c.begin();
2453 c.moveTo(w * 0.8, h * 0.2);
2454 c.lineTo(w * 0.4, h * 0.8);
2455 c.lineTo(w * 0.25, h * 0.6);
2456 c.stroke();
2490 mxShapeMockupFormsURect.prototype.paintVertexShape = function(c, x, y, w, h) argument
2492 c.translate(x, y);
2494 c.begin();
2495 c.moveTo(0, h);
2496 c.lineTo(0, 0);
2497 c.lineTo(w, 0);
2498 c.lineTo(w, h);
2499 c.fillAndStroke();