레퍼런스 smooth()

smooth()

Draws certain features with smooth (antialiased) 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.

예제

구문

smooth()

매개변수


관련 레퍼런스