Skip to content

Commit

Permalink
Export getColor.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Oct 6, 2015
1 parent df737d1 commit c27054e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ function bitmap (width, height, byteWidth, bitsPerPixel, bytesPerPixel, image)
this.image = image;
}

bitmap.prototype.color = function()
{
return robotjs.getColor(this);
};

module.exports.screen.capture = function()
{
b = robotjs.captureScreen();
Expand Down

0 comments on commit c27054e

Please sign in to comment.