diff options
author | Pushkar Joshi | 2012-03-02 12:23:44 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-03-02 12:23:44 -0800 |
commit | 1b68bb87c458877cb850a96d8a093d6064bc41dc (patch) | |
tree | e479c2f0a3958cdf2110654b1886769518b1bee7 /js/components/tools-properties/brush-properties.reel/brush-properties.js | |
parent | 0b7f2f54738d2c1ea480b9bac7d3a750b1ef4df6 (diff) | |
download | ninja-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-x | js/components/tools-properties/brush-properties.reel/brush-properties.js | 17 |
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; | |||
9 | var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties; | 9 | var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties; |
10 | 10 | ||
11 | exports.BrushProperties = Montage.create(ToolProperties, { | 11 | exports.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 | }); |