Implement Images

This commit is contained in:
Michal Moskal
2016-04-01 19:55:51 -07:00
parent 6176963504
commit 4b92de7516
8 changed files with 163 additions and 76 deletions

View File

@ -186,7 +186,7 @@ namespace led {
* Takes a screenshot of the LED screen and returns an image.
*/
//% shim=uBit.display.screenShot help=led/screenshot
export function screenshot(): images.Image {
export function screenshot(): Image {
/*
let img: Image;
img = image.createImage("");