upgrading to latest common packages (#383)

This commit is contained in:
Peli de Halleux
2018-03-28 09:04:49 -07:00
committed by GitHub
parent 8536126e23
commit 31f91d4e24
5 changed files with 13 additions and 17 deletions

View File

@ -23,14 +23,14 @@ declare interface Image {
/**
* Set pixel color
*/
//% shim=ImageMethods::set
set(x: int32, y: int32, c: int32): void;
//% shim=ImageMethods::setPixel
setPixel(x: int32, y: int32, c: int32): void;
/**
* Get a pixel color
*/
//% shim=ImageMethods::get
get(x: int32, y: int32): int32;
//% shim=ImageMethods::getPixel
getPixel(x: int32, y: int32): int32;
/**
* Fill entire image with a given color