Search
Poly.smooth Property
See Also
 






Gets or sets a value indicating whether to smooth the drawing vertices.

Namespace: MindFusion.Mapping
File: Poly.js

 Syntax

JavaScript  Copy Code

get smooth() {}

 Property Value

Boolean. True to smooth the vertices, otherwise false.

 Example

The following code checks the count of points in a Poly. If it is big enough, it turns off smooth rendering:

JavaScript  Copy Code
if(poly.points.count() > 100)
   poly.smooth = false;

 See Also