Lines Matching refs:c

42 mxShapeAndroidTabBar.prototype.paintVertexShape = function(c, x, y, w, h)  argument
77 c.translate(x, y);
78 …this.background(c, trueW, trueH, buttonNum, buttonWidths, labelOffset, minW, frameColor, separator…
79 c.setShadow(false);
81 c.setFontStyle(mxConstants.FONT_BOLD);
88 c.setFontColor(selectedFontColor);
92 c.setFontColor(fontColor);
96 this.buttonText(c, currWidth, trueH, textStrings[i], buttonWidths[i], fontSize, minW, trueW);
101 mxShapeAndroidTabBar.prototype.background = function(c, w, h, buttonNum, buttonWidths, labelOffset,… argument
103 c.begin();
106 c.setStrokeColor(frameColor);
107 c.setFillColor(bgColor);
108 c.rect(0, 0, w, h);
109 c.fillAndStroke();
112 c.setStrokeColor(separatorColor);
113 c.begin();
126 c.moveTo(currWidth, h * 0.2);
127 c.lineTo(currWidth, h * 0.8);
131 c.stroke();
135 c.setFillColor(selectedFillColor);
146 c.rect(buttonLeft, 0, buttonRight - buttonLeft, h);
147 c.fill();
149 c.setAlpha(1);
150 c.setFillColor('#33b5e5');
151 c.rect(buttonLeft, h * 0.9, buttonRight - buttonLeft, h * 0.1);
152 c.fill();
155 mxShapeAndroidTabBar.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSize, mi… argument
162 c.begin();
163 c.setFontSize(fontSize);
164c.text((w + buttonWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER…
194 mxShapeAndroidPhone.prototype.paintVertexShape = function(c, x, y, w, h) argument
196 c.translate(x, y);
199 c.roundrect(0, 0, w, h, rSize, rSize);
200 c.fillAndStroke();
202 c.setShadow(false);
204 this.foreground(c, x, y, w, h, rSize);
207 mxShapeAndroidPhone.prototype.foreground = function(c, x, y, w, h, rSize) argument
209 c.rect(w * 0.0625, h * 0.15, w * 0.875, h * 0.7);
210 c.stroke();
212 c.ellipse(w * 0.4875, h * 0.04125, w * 0.025, h * 0.0125);
213 c.stroke();
215 c.roundrect(w * 0.375, h * 0.075, w * 0.25, h * 0.01875, w * 0.02, h * 0.01);
216 c.stroke();
217 c.ellipse(w * 0.4, h * 0.875, w * 0.2, h * 0.1);
218 c.stroke();
219 c.roundrect(w * 0.4575, h * 0.905, w * 0.085, h * 0.04375, h * 0.00625, h * 0.00625);
220 c.stroke();
250 mxShapeAndroidStatusBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
252 c.translate(x, y);
253 this.background(c, x, y, w, h);
254 c.setShadow(false);
255 this.foreground(c, x, y, w, h);
258 mxShapeAndroidStatusBar.prototype.background = function(c, x, y, w, h) argument
260 c.rect(0, 0, w, h);
261 c.fill();
264 mxShapeAndroidStatusBar.prototype.foreground = function(c, x, y, w, h) argument
266 c.rect(0, 0, w, h);
267 c.fill();
269 c.setFontColor(mxUtils.getValue(this.style, mxConstants.STYLE_FONTCOLOR, '#222222'));
270 c.setFontSize(mxUtils.getValue(this.style, mxConstants.STYLE_FONTSIZE, '5'));
271c.text(w - 30, h * 0.5 + 1, 0, 0, '12:00', mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, nu…
273 c.setFillColor('#444444');
274 c.begin();
275 c.moveTo(w - 37, h * 0.5 + 6);
276 c.lineTo(w - 37, h * 0.5 - 5);
277 c.lineTo(w - 36, h * 0.5 - 5);
278 c.lineTo(w - 36, h * 0.5 - 6);
279 c.lineTo(w - 32, h * 0.5 - 6);
280 c.lineTo(w - 32, h * 0.5 - 5);
281 c.lineTo(w - 31, h * 0.5 - 5);
282 c.lineTo(w - 31, h * 0.5 + 6);
283 c.close();
284 c.fill();
286 c.setFillColor(mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, 'none'));
287 c.ellipse(w - 56, h * 0.5 + 2, 2, 2);
288 c.fillAndStroke();
290 c.setStrokeWidth(2);
291 c.begin();
292 c.moveTo(w - 52, h * 0.5 + 1);
293 c.arcTo(3.5, 3.5, 0, 0, 0, w - 58, h * 0.5 + 1);
294 c.stroke();
296 c.begin();
297 c.moveTo(w - 50, h * 0.5 - 1);
298 c.arcTo(6, 6, 0, 0, 0, w - 60, h * 0.5 - 1);
299 c.stroke();
301 c.setStrokeWidth(1);
303 c.rect(w - 51, h * 0.5 + 5, 2, 1);
304 c.fill();
306 c.rect(w - 48, h * 0.5 + 2, 2, 4);
307 c.fill();
309 c.rect(w - 45, h * 0.5 - 1, 2, 7);
310 c.fill();
312 c.rect(w - 42, h * 0.5 - 4, 2, 10);
313 c.fill();
315 c.rect(w - 37, h * 0.5 - 2, 6, 8);
316 c.fill();
354 mxShapeAndroidCheckboxGroup.prototype.paintVertexShape = function(c, x, y, w, h) argument
356 c.translate(x, y);
364 c.setStrokeColor(strokeColor2);
397 c.roundrect(0, 0, trueW, trueH, 2.5, 2.5);
398 c.fillAndStroke();
399 c.setShadow(false);
401 c.setFontSize(fontSize);
402 c.setFontColor(fontColor);
403 c.setStrokeColor(strokeColor);
417c.text(buttonSize * 2 + labelOffset, currHeight, 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstan…
424 c.rect(iconX, iconY, buttonSize, buttonSize);
425 c.fillAndStroke();
426 c.begin();
427 c.moveTo(iconX + buttonSize * 0.25, iconY + buttonSize * 0.5);
428 c.lineTo(iconX + buttonSize * 0.5, iconY + buttonSize * 0.75);
429 c.lineTo(iconX + buttonSize * 0.75, iconY + buttonSize * 0.25);
430 c.stroke();
434 c.rect(iconX, iconY, buttonSize, buttonSize);
435 c.fillAndStroke();
476 mxShapeAndroidRadioGroup.prototype.paintVertexShape = function(c, x, y, w, h) argument
478 c.translate(x, y);
486 c.setStrokeColor(strokeColor2);
520 c.roundrect(0, 0, trueW, trueH, 2.5, 2.5);
521 c.fillAndStroke();
522 c.setShadow(false);
524 c.setFontSize(fontSize);
525 c.setFontColor(fontColor);
526 c.setStrokeColor(strokeColor);
527 c.setFillColor(strokeColor);
541c.text(buttonSize * 2 + labelOffset, currHeight, 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstan…
548 c.ellipse(iconX, iconY, buttonSize, buttonSize);
549 c.stroke();
550c.ellipse(iconX + buttonSize * 0.25, iconY + buttonSize * 0.25, buttonSize * 0.5, buttonSize * 0.5…
551 c.fillAndStroke();
555 c.ellipse(iconX, iconY, buttonSize, buttonSize);
556 c.stroke();
592 mxShapeAndroidMenuBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
618 c.translate(x, y);
620 c.rect(0, 0, w, trueH);
621 c.fillAndStroke();
623 c.setShadow(false);
626 c.begin();
631 c.moveTo(0, currHeight);
632 c.lineTo(w, currHeight);
635 c.stroke();
641c.text(10, currHeight, 0, 0, textStrings[i], mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0, …
672 mxShapeAndroidTextSelHandles.prototype.paintVertexShape = function(c, x, y, w, h) argument
675 c.translate(x, y);
679 c.setAlpha(0.5);
681 c.rect(handleSizeX, 0, w - 2 * handleSizeX, barH);
682 c.fill();
684 c.begin();
685 c.moveTo(0, h - handleSizeX);
686 c.lineTo(handleSizeX * 0.5, h - handleSizeX * 1.5);
687 c.lineTo(handleSizeX, h - handleSizeX);
688 c.close();
689 c.moveTo(w - handleSizeX, h - handleSizeX);
690 c.lineTo(w - handleSizeX * 0.5, h - handleSizeX * 1.5);
691 c.lineTo(w, h - handleSizeX);
692 c.close();
693 c.fill();
695 c.setFillColor(strokeColor);
696 c.rect(0, h - handleSizeX, handleSizeX, handleSizeX);
697 c.fill();
698 c.rect(w - handleSizeX, h - handleSizeX, handleSizeX, handleSizeX);
699 c.fill();
729 mxShapeAndroidIndeterminateSpinner.prototype.paintVertexShape = function(c, x, y, w, h) argument
731 c.translate(x, y);
732 this.background(c, x, y, w, h);
735 mxShapeAndroidIndeterminateSpinner.prototype.background = function(c, x, y, w, h) argument
737c.setGradient('#aaaaaa', '#dddddd', w * 0.325, 0, w * 0.675, h * 0.5, mxConstants.DIRECTION_SOUTH,…
738 c.begin();
739 c.moveTo(w * 0.5, h * 0.1);
740 c.arcTo(w * 0.4, h * 0.4, 0, 0, 0, w * 0.5, h * 0.9);
741 c.lineTo(w * 0.5, h);
742 c.arcTo(w * 0.5, h * 0.5, 0, 0, 1, w * 0.5, 0);
743 c.close();
744 c.fill();
746c.setGradient('#ffffff', '#dddddd', w * 0.325, 0, w * 0.675, h * 0.5, mxConstants.DIRECTION_SOUTH,…
747 c.begin();
748 c.moveTo(w * 0.5, h * 0.1);
749 c.arcTo(w * 0.4, h * 0.4, 0, 0, 1, w * 0.5, h * 0.9);
750 c.lineTo(w * 0.5, h);
751 c.arcTo(w * 0.5, h * 0.5, 0, 0, 0, w * 0.5, 0);
752 c.close();
753 c.fill();
784 mxShapeAndroidAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
820 mxShapeAndroidRRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
822 c.translate(x, y);
825 c.roundrect(0, 0, w, h, rSize);
826 c.fillAndStroke();
860 mxShapeAndroidCheckbox.prototype.paintVertexShape = function(c, x, y, w, h) argument
862 c.translate(x, y);
863 c.rect(0, 0, w, h);
864 c.fillAndStroke();
866 c.begin();
867 c.moveTo(w * 0.8, h * 0.2);
868 c.lineTo(w * 0.4, h * 0.8);
869 c.lineTo(w * 0.25, h * 0.6);
870 c.stroke();
911 mxShapeAndroidProgressBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
916 c.translate(x, y);
918 c.save();
919 c.save();
920 c.setStrokeColor('#444444');
921 c.begin();
922 c.moveTo(0, h * 0.5);
923 c.lineTo(w , h * 0.5);
924 c.stroke();
926 c.restore();
927 c.setShadow(false);
928 c.begin();
929 c.moveTo(0, h * 0.5);
930 c.lineTo(dx1, h * 0.5);
931 c.stroke();
933 c.setStrokeColor('#000000');
934 c.setAlpha('0.2');
935 c.begin();
936 c.moveTo(0, h * 0.5);
937 c.lineTo(dx1, h * 0.5);
938 c.stroke();
940 c.restore();
941 c.setShadow(false);
942 c.begin();
943 c.moveTo(0, h * 0.5);
944 c.lineTo(dx2, h * 0.5);
945 c.stroke();
1013 mxShapeAndroidProgressScrubberDisabled.prototype.paintVertexShape = function(c, x, y, w, h) argument
1017 c.translate(x, y);
1019 c.save();
1020 c.save();
1021 c.setStrokeColor('#444444');
1022 c.begin();
1023 c.moveTo(0, h * 0.5);
1024 c.lineTo(w, h * 0.5);
1025 c.stroke();
1027 c.restore();
1028 c.setShadow(false);
1029 c.setAlpha('0.5');
1030 c.setFillColor('#666666');
1031 c.begin();
1033 c.ellipse(dx - r, h * 0.5 - r, 2 * r, 2 * r);
1034 c.fill();
1036 c.restore();
1037 c.setShadow(false);
1038 c.begin();
1040 c.ellipse(dx - r, h * 0.5 - r, 2 * r, 2 * r);
1041 c.fill();
1098 mxShapeAndroidProgressScrubberFocused.prototype.paintVertexShape = function(c, x, y, w, h) argument
1103 c.translate(x, y);
1105 c.save();
1106 c.save();
1107 c.setStrokeColor('#444444');
1108 c.begin();
1109 c.moveTo(0, h * 0.5);
1110 c.lineTo(w, h * 0.5);
1111 c.stroke();
1113 c.restore();
1114 c.setShadow(false);
1115 c.setAlpha('0.75');
1116 c.begin();
1118 c.ellipse(dx - r, h * 0.5 - r, 2 * r, 2 * r);
1119 c.fill();
1121 c.restore();
1122 c.setShadow(false);
1123 c.setStrokeColor(fillColor);
1125 c.begin();
1126 c.moveTo(0, h * 0.5);
1127 c.lineTo(dx, h * 0.5);
1128 c.stroke();
1130 c.begin();
1132 c.ellipse(dx - r, h * 0.5 - r, 2 * r, 2 * r);
1133 c.fill();
1190 mxShapeAndroidProgressScrubberPressed.prototype.paintVertexShape = function(c, x, y, w, h) argument
1195 c.translate(x, y);
1197 c.save();
1198 c.save();
1199 c.setStrokeColor('#444444');
1200 c.begin();
1201 c.moveTo(0, h * 0.5);
1202 c.lineTo(w, h * 0.5);
1203 c.stroke();
1205 c.restore();
1206 c.setShadow(false);
1207 c.setStrokeColor(fillColor);
1208 c.setAlpha('0.5');
1209 c.begin();
1211 c.ellipse(dx - r, h * 0.5 - r, 2 * r, 2 * r);
1212 c.fillAndStroke();
1214 c.restore();
1215 c.setShadow(false);
1216 c.setStrokeColor(fillColor);
1218 c.begin();
1219 c.moveTo(0, h * 0.5);
1220 c.lineTo(dx, h * 0.5);
1221 c.stroke();
1223 c.begin();
1225 c.ellipse(dx - r, h * 0.5 - r, 2 * r, 2 * r);
1226 c.fill();
1283 mxShapeAndroidQuickscroll2.prototype.paintVertexShape = function(c, x, y, w, h) argument
1288 c.translate(x, y);
1290 c.save();
1291 c.save();
1292 c.setStrokeColor('#cccccc');
1293 c.begin();
1294 c.moveTo(w - 3, 0);
1295 c.lineTo(w - 3, h);
1296 c.stroke();
1298 c.restore();
1299 c.begin();
1300 c.roundrect(w - 6, dy - 10, 6, 20, 1, 1);
1301 c.fillAndStroke();
1303 c.setFillColor('#cccccc');
1304 c.begin();
1305 c.rect(0, dy - 20, w - 18, 40);
1306 c.fill();
1308 c.setFillColor('#666666');
1309 c.begin();
1310 c.moveTo(w - 18, dy - 20);
1311 c.lineTo(w - 6, dy);
1312 c.lineTo(w - 18, dy + 20);
1313 c.close();
1314 c.fill();
1316 c.setFontSize('12');
1317c.text((w - 18) * 0.5, dy, 0, 0, 'Aa', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null…
1373 mxShapeAndroidQuickscroll3.prototype.paintVertexShape = function(c, x, y, w, h) argument
1378 c.translate(x, y);
1380 c.save();
1381 c.setStrokeColor('#cccccc');
1382 c.begin();
1383 c.moveTo(w * 0.5, 0);
1384 c.lineTo(w * 0.5, h);
1385 c.stroke();
1387 c.restore();
1388 c.begin();
1389 c.roundrect(w * 0.5 - 3, dy - 10, 6, 20, 1, 1);
1390 c.fillAndStroke();
1441 mxShapeAndroidScrollbars2.prototype.paintVertexShape = function(c, x, y, w, h) argument
1444 c.translate(x, y);
1446 c.begin();
1447 c.rect(w - 5, 0, 5, h - 7);
1448 c.fillAndStroke();
1450 c.begin();
1451 c.rect(0, h - 5, w - 7, 5);
1452 c.fillAndStroke();
1488 mxShapeAndroidSpinner2.prototype.paintVertexShape = function(c, x, y, w, h) argument
1491 c.translate(x, y);
1493 c.begin();
1494 c.moveTo(0, h);
1495 c.lineTo(w, h);
1496 c.stroke();
1499 c.begin();
1500 c.moveTo(w - s, h);
1501 c.lineTo(w, h - s);
1502 c.lineTo(w, h);
1503 c.close();
1504 c.fillAndStroke();