commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / bower_components / qunit / addons / canvas / README.md
1 Canvas - A QUnit Addon For Testing Canvas Rendering
2 ================================
3
4 This addon for QUnit adds a pixelEqual method that allows you to assert
5 individual pixel values in a given canvas.
6
7 Usage:
8
9 pixelEqual(canvas, x, y, r, g, b, a, message)
10
11 Where:
12
13 * canvas: Reference to a canvas element
14 * x, y: Coordinates of the pixel to test
15 * r, g, b, a: The color and opacity value of the pixel that you except
16 * message: Optional message, same as for other assertions