From fcab2a14f8de302948d38f55db41e2c1c92baa34 Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Thu, 8 Mar 2012 16:03:17 -0800 Subject: brush stroke options for calligraphic brush style --- .../brush-properties.reel/brush-properties.html | 23 ++++++++++++++++++++-- .../brush-properties.reel/brush-properties.js | 8 +++++++- 2 files changed, 28 insertions(+), 3 deletions(-) (limited to 'js/components') diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.html b/js/components/tools-properties/brush-properties.reel/brush-properties.html index 6d4852e6..d96bd1ba 100755 --- a/js/components/tools-properties/brush-properties.reel/brush-properties.html +++ b/js/components/tools-properties/brush-properties.reel/brush-properties.html @@ -37,6 +37,19 @@ } }, + "strokeAngleHT": { + "module": "js/components/hottextunit.reel", + "name": "HotTextUnit", + "properties": { + "element": {"#": "strokeAngle"}, + "minValue": -90, + "maxValue": 90, + "value": 0, + "decimalPlace": 10, + "acceptableUnits" : ["px", "pt"] + } + }, + "owner": { "module": "js/components/tools-properties/brush-properties.reel", "name": "BrushProperties", @@ -44,7 +57,9 @@ "element": {"#": "brushProperties"}, "_strokeSize": {"@": "strokeSizeHT"}, "_strokeHardness": {"@": "strokeHardnessHT"}, - "_doSmoothing": {"@": "doSmoothing"} + "_doSmoothing": {"#": "doSmoothing"}, + "_useCalligraphic":{"#": "useCalligraphic"}, + "_strokeAngle": {"@": "strokeAngleHT"} } } } @@ -59,7 +74,11 @@
- + + + + +