summaryrefslogtreecommitdiff
path: root/js/Misc/BOUNCEXY.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 20:21:14 +0530
committerSunil Shetye2018-07-02 21:20:51 +0530
commit5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (patch)
tree15164190cae390d0a701fcd7ce99fa3addb4134c /js/Misc/BOUNCEXY.js
parent468de187d0ad59613aa73384976b58b78200ae43 (diff)
downloadsci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.gz
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.bz2
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.zip
add set block
Diffstat (limited to 'js/Misc/BOUNCEXY.js')
-rw-r--r--js/Misc/BOUNCEXY.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js
index 949bbda2..459f5f13 100644
--- a/js/Misc/BOUNCEXY.js
+++ b/js/Misc/BOUNCEXY.js
@@ -41,6 +41,14 @@ function BOUNCEXY() {
BOUNCEXY.prototype.get = function BOUNCEXY() {
}
BOUNCEXY.prototype.set = function BOUNCEXY() {
+ this.clrs = parseFloat((arguments[0]["clrs"]))
+ this.siz = parseFloat((arguments[0]["siz"]))
+ this.win = parseFloat((arguments[0]["win"]))
+ this.imode = parseFloat((arguments[0]["imode"]))
+ this.xmin = parseFloat((arguments[0]["xmin"]))
+ this.xmax = parseFloat((arguments[0]["xmax"]))
+ this.ymin = parseFloat((arguments[0]["ymin"]))
+ this.ymax = parseFloat((arguments[0]["ymax"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;