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