diff options
author | Armen Kesablyan | 2012-04-04 11:34:19 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-04-04 11:34:19 -0700 |
commit | 211f514882144de8df69ebb2106f3b446be1dda0 (patch) | |
tree | c8eaf3d9fc7ac1bc841320e73d41818fbfb5827d /js/data/pi/pi-data.js | |
parent | 5a5d0f68dd82b829405a0b301dd11b4cf385c8d5 (diff) | |
parent | a11ef2eed7049835c8bdfa50a2b893632c46eaa0 (diff) | |
download | ninja-211f514882144de8df69ebb2106f3b446be1dda0.tar.gz |
Merge branch 'refs/heads/master' into BugFixes
Diffstat (limited to 'js/data/pi/pi-data.js')
-rwxr-xr-x | js/data/pi/pi-data.js | 141 |
1 files changed, 140 insertions, 1 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js index 52360302..7edc90d8 100755 --- a/js/data/pi/pi-data.js +++ b/js/data/pi/pi-data.js | |||
@@ -653,7 +653,146 @@ exports.PiData = Montage.create( Montage, { | |||
653 | ] | 653 | ] |
654 | } | 654 | } |
655 | ] | 655 | ] |
656 | } | 656 | }, |
657 | SubpathPi: { | ||
658 | value: [ | ||
659 | { | ||
660 | label: "Stroke", | ||
661 | |||
662 | Section: [ | ||
663 | [ | ||
664 | { | ||
665 | type : "color", | ||
666 | prop: "border", | ||
667 | id : "stroke" | ||
668 | }, | ||
669 | { | ||
670 | type : "color", | ||
671 | id : "fill", | ||
672 | prop: "background", | ||
673 | divider : true | ||
674 | } | ||
675 | ], | ||
676 | [ | ||
677 | { | ||
678 | type : "hottext", | ||
679 | id : "strokeSize", | ||
680 | prop : "strokeSize", | ||
681 | label : "Stroke", | ||
682 | valueMutator: parseFloat, | ||
683 | min : 1, | ||
684 | max : 100, | ||
685 | value : 1, | ||
686 | unit : "px", | ||
687 | acceptableUnits: ["pt", "px"] | ||
688 | } | ||
689 | ] | ||
690 | ] | ||
691 | } | ||
692 | ] | ||
693 | }, | ||
694 | BrushStrokePi: { | ||
695 | value: [ | ||
696 | { | ||
697 | label: "Stroke", | ||
698 | |||
699 | Section: [ | ||
700 | [ | ||
701 | { | ||
702 | type : "color", | ||
703 | prop: "border", | ||
704 | id : "stroke" | ||
705 | }, | ||
706 | { | ||
707 | type : "color", | ||
708 | id : "fill", | ||
709 | prop: "background", | ||
710 | visible : false, | ||
711 | divider : true | ||
712 | } | ||
713 | ], | ||
714 | [ | ||
715 | { | ||
716 | type : "hottext", | ||
717 | id : "strokeSize", | ||
718 | prop : "strokeSize", | ||
719 | label : "Stroke", | ||
720 | valueMutator: parseInt, | ||
721 | min : 1, | ||
722 | max : 100, | ||
723 | value : 1, | ||
724 | unit : "px", | ||
725 | acceptableUnits: ["pt", "px"] | ||
726 | }, | ||
727 | { | ||
728 | type : "hottext", | ||
729 | id : "strokeHardness", | ||
730 | prop : "strokeHardness", | ||
731 | label : "Hardness", | ||
732 | valueMutator: parseInt, | ||
733 | min : 0, | ||
734 | max : 100, | ||
735 | value : 100, | ||
736 | unit : "%", | ||
737 | acceptableUnits: ["%"] | ||
738 | } | ||
739 | ] | ||
740 | ] | ||
741 | }, | ||
742 | { | ||
743 | label: "Smoothing", | ||
744 | Section: [ | ||
745 | [ | ||
746 | { | ||
747 | type: "checkbox", | ||
748 | id: "doSmoothing", | ||
749 | prop: "doSmoothing", | ||
750 | defaultValue: false, | ||
751 | value: "Y/N", | ||
752 | checked: false | ||
753 | }, | ||
754 | { | ||
755 | type : "hottext", | ||
756 | id : "strokeSmoothing", | ||
757 | prop : "strokeSmoothing", | ||
758 | label : "Amount", | ||
759 | valueMutator: parseFloat, | ||
760 | min : 0, | ||
761 | max : 100, | ||
762 | value : 0 | ||
763 | } | ||
764 | ] | ||
765 | ] | ||
766 | }, | ||
767 | { | ||
768 | label: "Calligraphic", | ||
769 | Section: [ | ||
770 | [ | ||
771 | { | ||
772 | type: "checkbox", | ||
773 | id: "isCalligraphic", | ||
774 | prop: "isCalligraphic", | ||
775 | defaultValue: false, | ||
776 | value: "Y/N", | ||
777 | checked: false, | ||
778 | divider : true | ||
779 | }, | ||
780 | { | ||
781 | type : "hottext", | ||
782 | id : "strokeAngle", | ||
783 | prop : "strokeAngle", | ||
784 | label : "Angle", | ||
785 | valueMutator: parseFloat, | ||
786 | min : -90, | ||
787 | max : 90, | ||
788 | value : 0, | ||
789 | unit : "deg." | ||
790 | } | ||
791 | ] | ||
792 | ] | ||
793 | } | ||
794 | ] //value: [ | ||
795 | } //BrushStrokePi: { | ||
657 | }); | 796 | }); |
658 | 797 | ||
659 | 798 | ||