Gets or sets a value indicating whether to smooth the drawing vertices.
Namespace: MindFusion.Mapping
File: Poly.js
SyntaxJavaScript
Copy Code
|
|---|
get smooth() {} |
Boolean. True to smooth the vertices, otherwise false.
ExampleThe 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