Reference noSmooth()


Draws certain features with jagged (aliased) edges.

smooth() is active by default. In 2D mode, noSmooth() is helpful for scaling up images without blurring. The functions don't affect shapes or fonts.

In WebGL mode, noSmooth() causes all shapes to be drawn with jagged (aliased) edges. The functions don't affect images or fonts.


Related References