Lines Matching refs:c
115 mxShapePidValve.prototype.paintVertexShape = function(c, x, y, w, h) argument
133 c.translate(x, y);
134 c.setLineJoin('round');
136 this.background(c, x, y, w, h, valveType, actuator, actH);
137 c.setShadow(false);
138 this.foreground(c, x, y, w, h, valveType, actuator, actH);
141 mxShapePidValve.prototype.background = function(c, x, y, w, h, valveType, actuator, actH) argument
148 this.drawActuatorBg(c, x, y, w, h / 1.2, actuator, actH);
152 this.drawActuatorBg(c, x, y, w, h, actuator, actH);
159 this.drawGateVariantBg(c, 0, 0, w, h, valveType, actuator, actH);
163 this.drawAngleVariantBg(c, 0, 0, w, h, valveType, actuator, actH);
167 this.drawButterflyValve(c, 0, 0, w, h, actuator, actH);
171 this.drawCheckValve(c, 0, 0, w, h, actuator, actH);
175 mxShapePidValve.prototype.foreground = function(c, x, y, w, h, valveType, actuator, actH) argument
184 this.drawActuatorFg(c, x, y, w, h / 1.2, actuator, actH);
188 this.drawActuatorFg(c, x, y, w, h, actuator, actH);
194 this.drawGateVariantFg(c, 0, 0, w, h, valveType, actuator, actH);
198 this.drawAngleVariantFg(c, 0, 0, w, h, valveType, actuator, actH);
202 mxShapePidValve.prototype.drawActuatorBg = function(c, x, y, w, h, actuator) argument
206 c.translate(w * 0.325, 0);
207 this.drawSquareAct(c, w * 0.35, h * 0.7, actuator);
208 c.translate(- w * 0.325, 0);
212 c.translate(w * 0.25, h * 0.15);
213 this.drawManAct(c, w * 0.5, h * 0.55);
214 c.translate(- w * 0.25, - h * 0.15);
218 c.translate(w * 0.25, h * 0.1);
219 this.drawDiaphAct(c, w * 0.5, h * 0.6);
220 c.translate(- w * 0.25, - h * 0.1);
224 c.translate(w * 0.25, h * 0.1);
225 this.drawBalDiaphActBg(c, w * 0.5, h * 0.6);
226 c.translate(- w * 0.25, - h * 0.1);
230 c.translate(w * 0.325, 0);
231 this.drawCircleAct(c, w * 0.35, h * 0.7, actuator);
232 c.translate(- w * 0.325, 0);
236 c.translate(w * 0.36, 0);
237 this.drawSpringAct(c, w * 0.28, h * 0.7);
238 c.translate(- w * 0.36, 0);
242 c.translate(w * 0.325, 0);
243 this.drawSolenoidManResetAct(c, w * 0.575, h * 0.7);
244 c.translate(- w * 0.325, 0);
248 c.translate(w * 0.35, 0);
249 this.drawSingActingActBg(c, w * 0.65, h * 0.7);
250 c.translate(- w * 0.35, 0);
254 c.translate(w * 0.35, 0);
255 this.drawDblActingActBg(c, w * 0.65, h * 0.7);
256 c.translate(- w * 0.35, 0);
260 c.translate(w * 0.35, 0);
261 this.drawPilotCylinderActBg(c, w * 0.65, h * 0.7);
262 c.translate(- w * 0.35, 0);
266 c.translate(w * 0.5, h * 0.2);
267 this.drawAngleBlowdownAct(c, w * 0.4, h * 0.5);
268 c.translate(- w * 0.5, - h * 0.2);
272 mxShapePidValve.prototype.drawActuatorFg = function(c, x, y, w, h, actuator) argument
276 c.translate(w * 0.25, h * 0.1);
277 this.drawBalDiaphActFg(c, w * 0.5, h * 0.6);
278 c.translate(- w * 0.25, - h * 0.1);
284 c.translate(w * 0.35, 0);
285 this.drawActingActFg(c, w * 0.65, h * 0.7);
286 c.translate(- w * 0.35, 0);
290 mxShapePidValve.prototype.drawManAct = function(c, w, h) argument
292 c.begin();
293 c.moveTo(0, 0);
294 c.lineTo(w, 0);
295 c.moveTo(w * 0.5, 0);
296 c.lineTo(w * 0.5, h);
297 c.stroke();
300 mxShapePidValve.prototype.drawDiaphAct = function(c, w, h) argument
302 c.begin();
303 c.moveTo(w * 0.5, h * 0.2);
304 c.lineTo(w * 0.5, h);
305 c.stroke();
307 c.begin();
308 c.moveTo(0, h * 0.2);
309 c.arcTo(w * 0.6, h * 0.4, 0, 0, 1, w, h * 0.2);
310 c.close();
311 c.fillAndStroke();
314 mxShapePidValve.prototype.drawBalDiaphActBg = function(c, w, h) argument
316 c.ellipse(0, 0, w, h * 0.3);
317 c.fillAndStroke();
319 c.begin();
320 c.moveTo(w * 0.5, h * 0.3);
321 c.lineTo(w * 0.5, h);
322 c.stroke();
325 mxShapePidValve.prototype.drawBalDiaphActFg = function(c, w, h) argument
327 c.begin();
328 c.moveTo(0, h * 0.15);
329 c.lineTo(w, h * 0.15);
330 c.stroke();
333 mxShapePidValve.prototype.drawCircleAct = function(c, w, h, actuator) argument
335 c.ellipse(0, 0, w, h * 0.5);
336 c.fillAndStroke();
338 c.begin();
339 c.moveTo(w * 0.5, h * 0.5);
340 c.lineTo(w * 0.5, h);
341 c.stroke();
354 c.setFontStyle(1);
355 c.setFontFamily('Helvetica');
356 c.setFontSize(Math.min(w, h) * 0.4);
357 …c.text(w * 0.5, h * 0.25, 0, 0, m, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0,…
360 mxShapePidValve.prototype.drawSpringAct = function(c, w, h) argument
362 c.begin();
363 c.moveTo(w * 0.5, 0);
364 c.lineTo(w * 0.5, h);
365 c.moveTo(w * 0.32, h * 0.16);
366 c.lineTo(w * 0.68, h * 0.08);
367 c.moveTo(w * 0.21, h * 0.32);
368 c.lineTo(w * 0.79, h * 0.20);
369 c.moveTo(w * 0.1, h * 0.52);
370 c.lineTo(w * 0.9, h * 0.36);
371 c.moveTo(0, h * 0.72);
372 c.lineTo(w, h * 0.5);
373 c.stroke();
376 mxShapePidValve.prototype.drawSolenoidManResetAct = function(c, w, h) argument
378 c.rect(0, 0, w * 0.61, h * 0.46);
379 c.fillAndStroke();
381 c.begin();
382 c.moveTo(w * 0.56, h * 0.6);
383 c.lineTo(w * 0.78, h * 0.5);
384 c.lineTo(w, h * 0.6);
385 c.lineTo(w * 0.78, h * 0.7);
386 c.close();
387 c.fillAndStroke();
389 c.begin();
390 c.moveTo(w * 0.305, h * 0.46);
391 c.lineTo(w * 0.305, h);
392 c.moveTo(w * 0.305, h * 0.6);
393 c.lineTo(w * 0.56, h * 0.6);
394 c.stroke();
396 c.setFontStyle(1);
397 c.setFontFamily('Helvetica');
398 c.setFontSize(Math.min(w, h) * 0.4);
399 …c.text(w * 0.305, h * 0.23, 0, 0, 'S', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null…
401 c.setFontStyle(0);
402 c.setFontSize(Math.min(w, h) * 0.15);
403 …c.text(w * 0.78, h * 0.6, 0, 0, 'R', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
406 mxShapePidValve.prototype.drawSingActingActBg = function(c, w, h) argument
408 c.rect(0, 0, w * 0.46, h * 0.46);
409 c.fillAndStroke();
411 c.begin();
412 c.moveTo(w * 0.23, h * 0.46);
413 c.lineTo(w * 0.23, h);
414 c.moveTo(w * 0.46, h * 0.23);
415 c.lineTo(w, h * 0.23);
416 c.moveTo(w * 0.77, h * 0.15);
417 c.lineTo(w * 0.69, h * 0.31);
418 c.moveTo(w * 0.82, h * 0.15);
419 c.lineTo(w * 0.74, h * 0.31);
420 c.stroke();
423 mxShapePidValve.prototype.drawActingActFg = function(c, w, h) argument
425 c.begin();
426 c.moveTo(w * 0.23, h * 0.23);
427 c.lineTo(w * 0.23, h * 0.46);
428 c.moveTo(0, h * 0.23);
429 c.lineTo(w * 0.46, h * 0.23);
430 c.stroke();
433 mxShapePidValve.prototype.drawDblActingActBg = function(c, w, h) argument
435 c.rect(0, 0, w * 0.46, h * 0.46);
436 c.fillAndStroke();
438 c.begin();
439 c.moveTo(w * 0.23, h * 0.46);
440 c.lineTo(w * 0.23, h);
441 c.moveTo(w * 0.46, h * 0.115);
442 c.lineTo(w, h * 0.115);
443 c.moveTo(w * 0.77, h * 0.035);
444 c.lineTo(w * 0.69, h * 0.195);
445 c.moveTo(w * 0.82, h * 0.035);
446 c.lineTo(w * 0.74, h * 0.195);
447 c.moveTo(w * 0.46, h * 0.345);
448 c.lineTo(w, h * 0.345);
449 c.moveTo(w * 0.77, h * 0.265);
450 c.lineTo(w * 0.69, h * 0.425);
451 c.moveTo(w * 0.82, h * 0.265);
452 c.lineTo(w * 0.74, h * 0.425);
453 c.stroke();
456 mxShapePidValve.prototype.drawPilotCylinderActBg = function(c, w, h) argument
458 c.rect(0, 0, w * 0.46, h * 0.46);
459 c.fillAndStroke();
461 c.begin();
462 c.moveTo(w * 0.23, h * 0.46);
463 c.lineTo(w * 0.23, h);
464 c.moveTo(w * 0.46, h * 0.23);
465 c.lineTo(w * 0.77, h * 0.23);
466 c.stroke();
468 c.rect(w * 0.77, h * 0.115, w * 0.23, h * 0.23);
469 c.fillAndStroke();
471 c.setFontStyle(0);
472 c.setFontFamily('Helvetica');
473 c.setFontSize(Math.min(w, h) * 0.15);
474 …c.text(w * 0.885, h * 0.23, 0, 0, 'P', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null…
477 mxShapePidValve.prototype.drawAngleBlowdownAct = function(c, w, h) argument
479 c.begin();
480 c.moveTo(w * 0.34, 0);
481 c.lineTo(w, h * 0.405);
482 c.moveTo(0, h);
483 c.lineTo(w * 0.665, h * 0.205);
484 c.stroke();
487 mxShapePidValve.prototype.drawSquareAct = function(c, w, h, actuator) argument
489 c.rect(0, 0, w, h * 0.5);
490 c.fillAndStroke();
492 c.begin();
493 c.moveTo(w * 0.5, h * 0.5);
494 c.lineTo(w * 0.5, h);
495 c.stroke();
520 c.setFontStyle(1);
521 c.setFontFamily('Helvetica');
522 c.setFontSize(Math.min(w, h) * 0.4);
523 …c.text(w * 0.5, h * 0.25, 0, 0, m, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0,…
526 mxShapePidValve.prototype.drawGateVariantFg = function(c, x, y, w, h, valveType, actuator, actH) argument
534 c.ellipse(x + w * 0.3, y + actH + (h - actH) * 0.18, w * 0.4, (h - actH) * 0.64);
535 c.fillAndStroke();
539 c.ellipse(x + w * 0.3, y + actH + (h - actH) * 0.18, w * 0.4, (h - actH) * 0.64);
540 c.setFillColor(strokeColor);
541 c.fillAndStroke();
542 c.setFillColor(fillColor);
546 this.drawPlug(c, x + w * 0.4, y + actH + (h - actH) * 0.25, w * 0.2, (h - actH) * 0.5);
550 this.drawNeedle(c, x + w * 0.45, y + actH + (h - actH) * 0.1, w * 0.1, (h - actH) * 0.9);
554 this.drawDrain(c, x + w * 0.48, y + actH + (h - actH) * 0.5, w * 0.04, (h - actH) * 0.49);
558 mxShapePidValve.prototype.drawAngleVariantFg = function(c, x, y, w, h, valveType, actuator, actH) argument
568 c.ellipse(w * 0.34, h * 0.175, w * 0.32, h * 0.4);
572 c.ellipse(w * 0.34, h * 0.45, w * 0.32, h * 0.2667);
574 c.setFillColor(strokeColor);
575 c.fillAndStroke();
576 c.setFillColor(fillColor);
580 mxShapePidValve.prototype.drawGateVariantBg = function(c, x, y, w, h, valveType, actuator, actH) argument
584 this.drawGateValve(c, x, y + actH, w, h - actH);
588 c.ellipse(x + w * 0.3, y + actH + (h - actH) * 0.18, w * 0.4, (h - actH) * 0.64);
589 c.fillAndStroke();
590 this.drawGateValve(c, x, y + actH, w, h - actH);
594 this.drawPlug(c, x + w * 0.4, y + actH + (h - actH) * 0.25, w * 0.2, (h - actH) * 0.5);
595 this.drawGateValve(c, x, y + actH, w, h - actH);
599 this.drawNeedle(c, x + w * 0.45, y + actH + (h - actH) * 0.1, w * 0.1, (h - actH) * 0.9);
600 this.drawGateValve(c, x, y + actH, w, h - actH);
604 this.drawDrain(c, x + w * 0.48, y + actH + (h - actH) * 0.5, w * 0.04, (h - actH) * 0.49);
605 this.drawGateValve(c, x, y + actH, w, h - actH);
609 mxShapePidValve.prototype.drawAngleVariantBg = function(c, x, y, w, h, valveType, actuator, actH) argument
613 this.drawAngleValve(c, w * 0.2, y + actH, w * 0.8, h - actH);
617 this.drawAngleGlobeValveBg(c, w * 0.2, y + actH, w * 0.8, h - actH);
621 this.drawThreeWayValve(c, 0, y + actH, w, h - actH);
625 this.drawAngleBlowdownValve(c, x, y + actH, w, h - actH);
629 mxShapePidValve.prototype.drawPlug = function(c, x, y, w, h) argument
631 c.translate(x, y);
632 c.begin();
633 c.moveTo(0, h * 0.5);
634 c.lineTo(w * 0.5, 0);
635 c.lineTo(w, h * 0.5);
636 c.lineTo(w * 0.5, h);
637 c.close();
638 c.fillAndStroke();
639 c.translate(-x, -y);
642 mxShapePidValve.prototype.drawNeedle = function(c, x, y, w, h) argument
647 c.translate(x, y);
648 c.begin();
649 c.moveTo(0, 0);
650 c.lineTo(w, 0);
651 c.lineTo(w * 0.5, h);
652 c.close();
653 c.setFillColor(strokeColor);
654 c.fillAndStroke();
655 c.setFillColor(fillColor);
656 c.translate(-x, -y);
659 mxShapePidValve.prototype.drawDrain = function(c, x, y, w, h) argument
664 c.translate(x, y);
665 c.begin();
666 c.moveTo(w * 0.5, 0);
667 c.lineTo(w * 0.5, h * 0.96);
668 c.stroke();
670 c.begin();
671 c.moveTo(0, h * 0.9);
672 c.lineTo(w, h * 0.9);
673 c.lineTo(w * 0.5, h);
674 c.close();
675 c.setFillColor(strokeColor);
676 c.fillAndStroke();
677 c.setFillColor(fillColor);
678 c.translate(-x, -y);
681 mxShapePidValve.prototype.drawGateValve = function(c, x, y, w, h) argument
687 c.translate(x, y);
688 c.begin();
689 c.moveTo(0, 0);
690 c.lineTo(w * 0.5, h * 0.5);
691 c.lineTo(0, h);
692 c.close();
693 c.moveTo(w, 0);
694 c.lineTo(w * 0.5, h * 0.5);
695 c.lineTo(w, h);
696 c.close();
700 c.setFillColor(strokeColor);
701 c.fillAndStroke();
702 c.setFillColor(fillColor);
706 c.fillAndStroke();
709 c.translate(-x, -y);
712 mxShapePidValve.prototype.drawAngleValve = function(c, x, y, w, h) argument
714 c.translate(x, y);
716 c.begin();
717 c.moveTo(w * 0.375, h * 0.375);
718 c.lineTo(w, 0);
719 c.lineTo(w, h * 0.75);
720 c.close();
721 c.moveTo(w * 0.375, h * 0.375);
722 c.lineTo(w * 0.75, h);
723 c.lineTo(0, h);
724 c.close();
725 c.fillAndStroke();
727 c.translate(-x, -y);
730 mxShapePidValve.prototype.drawAngleGlobeValveBg = function(c, x, y, w, h) argument
732 c.translate(x, y);
734 c.ellipse(w * 0.175, h * 0.175, w * 0.4, h * 0.4);
735 c.fillAndStroke();
736 c.begin();
737 c.moveTo(w * 0.375, h * 0.375);
738 c.lineTo(w, 0);
739 c.lineTo(w, h * 0.75);
740 c.close();
741 c.moveTo(w * 0.375, h * 0.375);
742 c.lineTo(w * 0.75, h);
743 c.lineTo(0, h);
744 c.close();
745 c.fillAndStroke();
746 c.translate(-x, -y);
749 mxShapePidValve.prototype.drawAngleGlobeValveFg = function(c, x, y, w, h) argument
751 c.translate(x, y);
752 c.ellipse(w * 0.275, h * 0.275, w * 0.2, h * 0.2);
753 c.fillAndStroke();
754 c.translate(-x, -y);
757 mxShapePidValve.prototype.drawThreeWayValve = function(c, x, y, w, h) argument
759 c.translate(x, y);
761 c.begin();
762 c.moveTo(0, 0);
763 c.lineTo(w * 0.5, h * 0.375);
764 c.lineTo(0, h * 0.75);
765 c.close();
767 c.moveTo(w, 0);
768 c.lineTo(w * 0.5, h * 0.375);
769 c.lineTo(w, h * 0.75);
770 c.close();
772 c.moveTo(w * 0.5, h * 0.375);
773 c.lineTo(w * 0.8, h);
774 c.lineTo(w * 0.2, h);
775 c.close();
776 c.fillAndStroke();
778 c.translate(-x, -y);
781 mxShapePidValve.prototype.drawAngleBlowdownValve = function(c, x, y, w, h) argument
787 mxShapePidValve.prototype.drawButterflyValve = function(c, x, y, w, h, actuator, actH) argument
795 c.translate(x, yv);
796 c.begin();
797 c.moveTo(0, 0);
798 c.lineTo(0, hv);
799 c.moveTo(w, 0);
800 c.lineTo(w, hv);
802 c.moveTo(w * 0.05, hv * 0.05);
803 c.lineTo(w * 0.95, hv * 0.95);
805 c.fillAndStroke();
807 c.ellipse(w * 0.4, hv * 0.33, w * 0.2, hv * 0.33);
808 c.fillAndStroke();
810 c.translate(-x, -y);
813 mxShapePidValve.prototype.drawCheckValve = function(c, x, y, w, h, actuator, actH) argument
821 c.translate(x, yv);
822 c.begin();
823 c.moveTo(0, 0);
824 c.lineTo(0, hv);
825 c.moveTo(w, 0);
826 c.lineTo(w, hv);
827 c.moveTo(w * 0.05, hv * 0.05);
828 c.lineTo(w * 0.95, hv * 0.95);
829 c.fillAndStroke();
831 c.begin();
832 c.moveTo(w * 0.8925, hv * 0.815);
833 c.lineTo(w * 0.957, hv * 0.955);
834 c.lineTo(w * 0.85, hv * 0.928);
835 c.close();
836 c.setFillColor(strokeColor);
837 c.fillAndStroke();
838 c.setFillColor(fillColor);
840 c.translate(-x, -y);
919 mxShapePidIntBlockBleedValve.prototype.paintVertexShape = function(c, x, y, w, h) argument
929 c.translate(x, y);
930 c.setLineJoin('round');
932 this.background(c, x, y, w, h, actuator, actH);
933 c.setShadow(false);
934 this.foreground(c, x, y, w, h, actuator, actH);
937 mxShapePidIntBlockBleedValve.prototype.background = function(c, x, y, w, h, actuator, actH) argument
942 this.drawActuatorBg(c, x, y, w, h, actuator);
946 this.drawValveBg(c, 0, actH, w, h - actH);
949 mxShapePidIntBlockBleedValve.prototype.foreground = function(c, x, y, w, h, actuator, actH) argument
954 this.drawActuatorFg(c, x, y, w, h, actuator);
958 mxShapePidIntBlockBleedValve.prototype.drawValveBg = function(c, x, y, w, h) argument
963 c.translate(x, y);
964 c.begin();
965 c.moveTo(0, 0);
966 c.lineTo(w * 0.5, h * 0.23);
967 c.lineTo(0, h * 0.46);
968 c.close();
969 c.moveTo(w * 0.5, h * 0.23);
970 c.lineTo(w, 0);
971 c.lineTo(w, h * 0.46);
972 c.close();
973 c.fillAndStroke();
975 c.begin();
976 c.moveTo(w * 0.5, h * 0.23);
977 c.lineTo(w * 0.5, h * 0.5);
978 c.stroke();
980 c.setFillColor(strokeColor);
981 c.begin();
982 c.moveTo(w * 0.3, h * 0.5);
983 c.lineTo(w * 0.7, h * 0.5);
984 c.lineTo(w * 0.5, h * 0.75);
985 c.close();
986 c.fillAndStroke();
988 c.begin();
989 c.moveTo(w * 0.3, h);
990 c.lineTo(w * 0.5, h * 0.75);
991 c.lineTo(w * 0.7, h);
992 c.fillAndStroke();
993 c.setFillColor(fillColor);
995 c.translate(-x, -y);
998 mxShapePidIntBlockBleedValve.prototype.drawActuatorBg = function(c, x, y, w, h, actuator) argument
1002 c.translate(w * 0.325, 0);
1003 this.drawSquareAct(c, w * 0.35, h * 0.4112, actuator);
1004 c.translate(- w * 0.325, 0);
1008 c.translate(w * 0.25, h * 0.0882);
1009 this.drawManAct(c, w * 0.5, h * 0.323);
1010 c.translate(- w * 0.25, - h * 0.0882);
1014 c.translate(w * 0.25, h * 0.0588);
1015 this.drawDiaphAct(c, w * 0.5, h * 0.3524);
1016 c.translate(- w * 0.25, - h * 0.0588);
1020 c.translate(w * 0.25, h * 0.0588);
1021 this.drawBalDiaphActBg(c, w * 0.5, h * 0.3524);
1022 c.translate(- w * 0.25, - h * 0.0588);
1026 c.translate(w * 0.325, 0);
1027 this.drawCircleAct(c, w * 0.35, h * 0.4112, actuator);
1028 c.translate(- w * 0.325, 0);
1032 c.translate(w * 0.36, 0);
1033 this.drawSpringAct(c, w * 0.28, h * 0.4112);
1034 c.translate(- w * 0.36, 0);
1038 c.translate(w * 0.325, 0);
1039 this.drawSolenoidManResetAct(c, w * 0.575, h * 0.4112);
1040 c.translate(- w * 0.325, 0);
1044 c.translate(w * 0.35, 0);
1045 this.drawSingActingActBg(c, w * 0.65, h * 0.4112);
1046 c.translate(- w * 0.35, 0);
1050 c.translate(w * 0.35, 0);
1051 this.drawDblActingActBg(c, w * 0.65, h * 0.4112);
1052 c.translate(- w * 0.35, 0);
1056 c.translate(w * 0.35, 0);
1057 this.drawPilotCylinderActBg(c, w * 0.65, h * 0.4112);
1058 c.translate(- w * 0.35, 0);
1062 mxShapePidIntBlockBleedValve.prototype.drawActuatorFg = function(c, x, y, w, h, actuator) argument
1066 c.translate(w * 0.25, h * 0.0588);
1067 this.drawBalDiaphActFg(c, w * 0.5, h * 0.3524);
1068 c.translate(- w * 0.25, - h * 0.0588);
1074 c.translate(w * 0.35, 0);
1075 this.drawActingActFg(c, w * 0.65, h * 0.4112);
1076 c.translate(- w * 0.35, 0);
1108 mxShapePidAutoRecircValve.prototype.paintVertexShape = function(c, x, y, w, h) argument
1110 c.setLineJoin('round');
1111 c.translate(x, y);
1114 c.rect(0, 0, w, h);
1115 c.fillAndStroke();
1116 c.setShadow(false);
1119 c.begin();
1120 c.moveTo(w * 0.08, h * 0.08);
1121 c.lineTo(w * 0.08, h * 0.92);
1122 c.moveTo(w * 0.92, h * 0.08);
1123 c.lineTo(w * 0.92, h * 0.92);
1124 c.moveTo(w * 0.12, h * 0.122);
1125 c.lineTo(w * 0.8738, h * 0.8837);
1127 c.moveTo(w * 0.5, 0);
1128 c.lineTo(w * 0.55, h * 0.05);
1129 c.lineTo(w * 0.45, h * 0.15);
1130 c.lineTo(w * 0.55, h * 0.25);
1131 c.lineTo(w * 0.45, h * 0.35);
1132 c.lineTo(w * 0.55, h * 0.45);
1133 c.lineTo(w * 0.49, h * 0.5);
1134 c.stroke();
1139 c.begin();
1140 c.moveTo(w * 0.8257, h * 0.7695);
1141 c.lineTo(w * 0.8797, h * 0.888);
1142 c.lineTo(w * 0.79, h * 0.8651);
1143 c.close();
1144 c.setFillColor(strokeColor);
1145 c.fillAndStroke();
1146 c.setFillColor(fillColor);