aboutsummaryrefslogtreecommitdiff
path: root/js/data/pi
diff options
context:
space:
mode:
Diffstat (limited to 'js/data/pi')
-rwxr-xr-xjs/data/pi/pi-data.js143
1 files changed, 141 insertions, 2 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js
index 52360302..07017f09 100755
--- a/js/data/pi/pi-data.js
+++ b/js/data/pi/pi-data.js
@@ -578,7 +578,7 @@ exports.PiData = Montage.create( Montage, {
578 valueMutator: parseFloat, 578 valueMutator: parseFloat,
579 value : 0, 579 value : 0,
580 min : 0, 580 min : 0,
581 max : 100, 581 max : 99,
582 unit : "%", 582 unit : "%",
583 acceptableUnits: ["%"] 583 acceptableUnits: ["%"]
584 584
@@ -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