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.
उदाहरण
This page is generated from the comments in src/core/shape/attributes.js . Please feel free to edit it and submit a pull request!