diff options
author | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
commit | ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch) | |
tree | 6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Misc/BOUNCEXY.js | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Misc/BOUNCEXY.js')
-rw-r--r-- | js/Misc/BOUNCEXY.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js index 459f5f13..009df1f2 100644 --- a/js/Misc/BOUNCEXY.js +++ b/js/Misc/BOUNCEXY.js @@ -39,6 +39,17 @@ function BOUNCEXY() { return this.x; } BOUNCEXY.prototype.get = function BOUNCEXY() { + var options = { + clrs:["colors",this.clrs], + siz:["radii",this.siz], + win:["window number (-1 for automatic)",this.win], + imode:["animation mode (0,1)",this.imode], + xmin:["Xmin",this.xmin], + xmax:["Xmax",this.xmax], + ymin:["Ymin",this.ymin], + ymax:["Ymax",this.ymax], + } + return options; } BOUNCEXY.prototype.set = function BOUNCEXY() { this.clrs = parseFloat((arguments[0]["clrs"])) |