We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f191d commit 90e4a99Copy full SHA for 90e4a99
src/image/loading_displaying.js
@@ -228,6 +228,21 @@ define(function (require) {
228
* displaying images with their original hues.
229
*
230
* @method noTint
231
+ * @example
232
+ * <div>
233
+ * <code>
234
+ * var img;
235
+ * function preload() {
236
+ * img = loadImage("assets/laDefense.jpg");
237
+ * }
238
+ * function setup() {
239
+ * tint(0, 153, 204); // Tint blue
240
+ * image(img, 0, 0);
241
+ * noTint(); // Disable tint
242
+ * image(img, 50, 0);
243
244
+ * </code>
245
+ * </div>
246
*/
247
p5.prototype.noTint = function() {
248
this._tint = null;
0 commit comments