diff options
Diffstat (limited to 'js/data/pi/pi-data.js')
-rwxr-xr-x | js/data/pi/pi-data.js | 145 |
1 files changed, 143 insertions, 2 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js index 52360302..157c54ec 100755 --- a/js/data/pi/pi-data.js +++ b/js/data/pi/pi-data.js | |||
@@ -131,6 +131,8 @@ exports.PiData = Montage.create( Montage, { | |||
131 | type : "hottext", | 131 | type : "hottext", |
132 | id : "borderWidth", | 132 | id : "borderWidth", |
133 | prop : "border-width", | 133 | prop : "border-width", |
134 | defaultValue: 0, | ||
135 | valueMutator: parseFloat, | ||
134 | label : "Border", | 136 | label : "Border", |
135 | min : 0, | 137 | min : 0, |
136 | max : 100, | 138 | max : 100, |
@@ -578,7 +580,7 @@ exports.PiData = Montage.create( Montage, { | |||
578 | valueMutator: parseFloat, | 580 | valueMutator: parseFloat, |
579 | value : 0, | 581 | value : 0, |
580 | min : 0, | 582 | min : 0, |
581 | max : 100, | 583 | max : 99, |
582 | unit : "%", | 584 | unit : "%", |
583 | acceptableUnits: ["%"] | 585 | acceptableUnits: ["%"] |
584 | 586 | ||
@@ -653,7 +655,146 @@ exports.PiData = Montage.create( Montage, { | |||
653 | ] | 655 | ] |
654 | } | 656 | } |
655 | ] | 657 | ] |
656 | } | 658 | }, |
659 | SubpathPi: { | ||
660 | value: [ | ||
661 | { | ||
662 | label: "Stroke", | ||
663 | |||
664 | Section: [ | ||
665 | [ | ||
666 | { | ||
667 | type : "color", | ||
668 | prop: "border", | ||
669 | id : "stroke" | ||
670 | }, | ||
671 | { | ||
672 | type : "color", | ||
673 | id : "fill", | ||
674 | prop: "background", | ||
675 | divider : true | ||
676 | } | ||
677 | ], | ||
678 | [ | ||
679 | { | ||
680 | type : "hottext", | ||
681 | id : "strokeSize", | ||
682 | prop : "strokeSize", | ||
683 | label : "Stroke", | ||
684 | valueMutator: parseFloat, | ||
685 | min : 1, | ||
686 | max : 100, | ||
687 | value : 1, | ||
688 | unit : "px", | ||
689 | acceptableUnits: ["pt", "px"] | ||
690 | } | ||
691 | ] | ||
692 | ] | ||
693 | } | ||
694 | ] | ||
695 | }, | ||
696 | BrushStrokePi: { | ||
697 | value: [ | ||
698 | { | ||
699 | label: "Stroke", | ||
700 | |||
701 | Section: [ | ||
702 | [ | ||
703 | { | ||
704 | type : "color", | ||
705 | prop: "border", | ||
706 | id : "stroke" | ||
707 | }, | ||
708 | { | ||
709 | type : "color", | ||
710 | id : "fill", | ||
711 | prop: "background", | ||
712 | visible : false, | ||
713 | divider : true | ||
714 | } | ||
715 | ], | ||
716 | [ | ||
717 | { | ||
718 | type : "hottext", | ||
719 | id : "strokeSize", | ||
720 | prop : "strokeSize", | ||
721 | label : "Stroke", | ||
722 | valueMutator: parseInt, | ||
723 | min : 1, | ||
724 | max : 100, | ||
725 | value : 1, | ||
726 | unit : "px", | ||
727 | acceptableUnits: ["pt", "px"] | ||
728 | }, | ||
729 | { | ||
730 | type : "hottext", | ||
731 | id : "strokeHardness", | ||
732 | prop : "strokeHardness", | ||
733 | label : "Hardness", | ||
734 | valueMutator: parseInt, | ||
735 | min : 0, | ||
736 | max : 100, | ||
737 | value : 100, | ||
738 | unit : "%", | ||
739 | acceptableUnits: ["%"] | ||
740 | } | ||
741 | ] | ||
742 | ] | ||
743 | }, | ||
744 | { | ||
745 | label: "Smoothing", | ||
746 | Section: [ | ||
747 | [ | ||
748 | { | ||
749 | type: "checkbox", | ||
750 | id: "doSmoothing", | ||
751 | prop: "doSmoothing", | ||
752 | defaultValue: false, | ||
753 | value: "Y/N", | ||
754 | checked: false | ||
755 | }, | ||
756 | { | ||
757 | type : "hottext", | ||
758 | id : "strokeSmoothing", | ||
759 | prop : "strokeSmoothing", | ||
760 | label : "Amount", | ||
761 | valueMutator: parseFloat, | ||
762 | min : 0, | ||
763 | max : 100, | ||
764 | value : 0 | ||
765 | } | ||
766 | ] | ||
767 | ] | ||
768 | }, | ||
769 | { | ||
770 | label: "Calligraphic", | ||
771 | Section: [ | ||
772 | [ | ||
773 | { | ||
774 | type: "checkbox", | ||
775 | id: "isCalligraphic", | ||
776 | prop: "isCalligraphic", | ||
777 | defaultValue: false, | ||
778 | value: "Y/N", | ||
779 | checked: false, | ||
780 | divider : true | ||
781 | }, | ||
782 | { | ||
783 | type : "hottext", | ||
784 | id : "strokeAngle", | ||
785 | prop : "strokeAngle", | ||
786 | label : "Angle", | ||
787 | valueMutator: parseFloat, | ||
788 | min : -90, | ||
789 | max : 90, | ||
790 | value : 0, | ||
791 | unit : "deg." | ||
792 | } | ||
793 | ] | ||
794 | ] | ||
795 | } | ||
796 | ] //value: [ | ||
797 | } //BrushStrokePi: { | ||
657 | }); | 798 | }); |
658 | 799 | ||
659 | 800 | ||