pxt-microbit Accessibility PR (#529)

* Accessibility changes
This commit is contained in:
Sam El-Husseini
2017-09-07 13:42:08 -07:00
committed by GitHub
parent 3f87576a50
commit e3975e65e5
357 changed files with 1641 additions and 3540 deletions

View File

@ -4,21 +4,21 @@ The plot frame function.
Display an [Image](/reference/images/image) on the @boardname@'s [LED screen](/device/screen)
### JavaScript
## JavaScript
```sig
export function plotFrame(_this: micro_bit.Image, index: number)
```
### Parameters
## Parameters
* index - [Number](/types/number); which frame of the image to display
### Difference from `plot image`
## Difference from `plot image`
The `plot frame` function takes the index of the frame (if there are two frames, then the possible indices are 0 and 1), whereas `plot image` accepts an offset (if there are two frames, the offset would range between 0 and 9).
### Example
## Example
```blocks
let img = images.createImage(`
@ -31,7 +31,7 @@ let img = images.createImage(`
img.plotFrame(1)
```
### See also
## See also
[create image](/reference/images/create-image), [show animation](/reference/basic/show-animation), [image](/reference/images/image), [show image](/reference/images/show-image), [scroll image](/reference/images/scroll-image)