aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/brush-properties.reel/brush-properties.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-03-02 12:23:44 -0800
committerPushkar Joshi2012-03-02 12:23:44 -0800
commit1b68bb87c458877cb850a96d8a093d6064bc41dc (patch)
treee479c2f0a3958cdf2110654b1886769518b1bee7 /js/components/tools-properties/brush-properties.reel/brush-properties.js
parent0b7f2f54738d2c1ea480b9bac7d3a750b1ef4df6 (diff)
downloadninja-1b68bb87c458877cb850a96d8a093d6064bc41dc.tar.gz
Catmull-Rom spline sampling for the brush stroke, and options for stroke size, stroke hardness and both stroke colors (left and right --- temporarily using the stroke and fill colors respectively)
Diffstat (limited to 'js/components/tools-properties/brush-properties.reel/brush-properties.js')
-rwxr-xr-xjs/components/tools-properties/brush-properties.reel/brush-properties.js17
1 files changed, 5 insertions, 12 deletions
diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.js b/js/components/tools-properties/brush-properties.reel/brush-properties.js
index 92da98cc..d2fcf888 100755
--- a/js/components/tools-properties/brush-properties.reel/brush-properties.js
+++ b/js/components/tools-properties/brush-properties.reel/brush-properties.js
@@ -9,17 +9,10 @@ var Component = require("montage/ui/component").Component;
9var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties; 9var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties;
10 10
11exports.BrushProperties = Montage.create(ToolProperties, { 11exports.BrushProperties = Montage.create(ToolProperties, {
12 12 strokeSize: {
13 13 get: function() { return this._strokeSize; }
14 _subPrepare: {
15 value: function() {
16 //this.divElement.addEventListener("click", this, false);
17 }
18 }, 14 },
19 15 strokeHardness: {
20 handleClick: { 16 get: function() { return this._strokeHardness; }
21 value: function(event) {
22 // this.selectedElement = event._event.target.id;
23 }
24 } 17 }
25}); \ No newline at end of file 18});