Permalink
Browse files

Merge pull request #582 from MatillaMartin/patch-3

Change getColor to draw
  • Loading branch information...
2 parents d7a60ec + e4a55fa commit 96450d5f9b033ba59c59ffe77b0f2f140dda087d @arturoc arturoc committed on GitHub Jan 23, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 learning/02_graphics/How_to_load_and_display_an_image.markdown
@@ -43,7 +43,7 @@ example:
Additionally, you can resize images by specifying the new *width* and *height* of the displayed image.
- imageName.getColor(xPosition, yPosition, width, height)
+ imageName.draw(xPosition, yPosition, width, height)
example:

0 comments on commit 96450d5

Please sign in to comment.