pxt-common-packages
Version:
Microsoft MakeCode (PXT) common packages
42 lines • 2.14 kB
JSON
{
"Image.clone|block": "clone %picture=variables_get",
"Image.drawLine|block": "draw line in %picture=variables_get from x %x0 y %y0 to x %x1 y %y1 %c=colorindexpicker",
"Image.drawRect|block": "draw rectangle in %picture=variables_get at x %x y %y width %w height %h %c=colorindexpicker",
"Image.drawTransparentImage|block": "$this draw $from at x $x y $y",
"Image.equals|block": "$this is equal to image $other",
"Image.fillRect|block": "fill rectangle in %picture=variables_get at x %x y %y width %w height %h %c=colorindexpicker",
"Image.fill|block": "fill %picture=variables_get with %c=colorindexpicker",
"Image.flipX|block": "flip %picture=variables_get horizontally",
"Image.flipY|block": "flip %picture=variables_get vertically",
"Image.getPixel|block": "%picture=variables_get color at x %x y %y",
"Image.replace|block": "change color in %picture=variables_get from %from=colorindexpicker to %to=colorindexpicker",
"Image.setPixel|block": "set %picture=variables_get color at x %x y %y to %c=colorindexpicker",
"helpers|block": "helpers",
"image.Dimension.Height|block": "height",
"image.Dimension.Width|block": "width",
"image.create|block": "create image width %width height %height",
"image.getDimension|block": "$picture $dimension",
"image.screenImage|block": "screen",
"images._dialogImage|block": "%img",
"images._image|block": "$image",
"images._screenImage|block": "%img",
"images._spriteImage|block": "%img",
"images._tileImage|block": "%img",
"images._tileMapImage|block": "%img",
"images._tile|block": "%tile",
"images|block": "images",
"image|block": "image",
"{id:category}Control": "Control",
"{id:category}Helpers": "Helpers",
"{id:category}Image": "Image",
"{id:category}Images": "Images",
"{id:category}Scene": "Scene",
"{id:category}ScreenImage": "ScreenImage",
"{id:category}Texteffects": "Texteffects",
"{id:category}_helpers_workaround": "_helpers_workaround",
"{id:group}Compare": "Compare",
"{id:group}Create": "Create",
"{id:group}Drawing": "Drawing",
"{id:group}Tiles": "Tiles",
"{id:group}Transformations": "Transformations"
}