add: images.load(), landscape param of requestScreenCapture()

This commit is contained in:
hyb1996
2017-11-27 14:29:21 +08:00
parent d775b5e77c
commit f99e844747
14 changed files with 47 additions and 75 deletions

View File

@@ -19,8 +19,12 @@ module.exports = function(__runtime__, scope){
images.read = rtImages.read.bind(rtImages);
images.load = rtImages.load.bind(rtImages);
images.saveImage = rtImages.saveImage.bind(rtImages);
images.save = rtImages.saveImage;
images.pixel = rtImages.pixel;
images.detectsColor = function(img, color, x, y, threshold, algorithm){